Avatar

Aidan O'Brien

CS Student

Download Resume
thumbnail

useless-addition-package

JavaScriptNPMFernMDX

A simple project built to learn Fern Docs and NPM publishing.

The useless-addition-package is a deliberately simple JavaScript package that exports a single `add` function. The real purpose of this project wasn't the functionality; it was to learn how to:

  • Build and publish a package to the NPM registry
  • Write developer documentation in MDX
  • Use Fern to generate and deploy modern API documentation
  • Host docs at a custom Fern subdomain

The result is a working package — even if trivial — with fully hosted docs at aidanobrien.docs.buildwithfern.com.

You can install the package via:

npm install useless-addition-package

And use it like this:

const { add } = require("useless-addition-package");
    console.log(add(2, 3)); // 5

This project solidified my understanding of the JavaScript packaging ecosystem, open-source publishing, and the power of developer tools like Fern for writing and hosting technical documentation.

See Docs
2025 — Built by Aidan O'Brien