node package manager

the-answer

the-answer

The answer to the question of life, the universe and everything.

Installation

npm install --save the-answer

Usage

const answer = require( 'the-answer' );
console.log( 'the answer is ' + answer );

Really?

Yes — I needed a simple module to demonstrate how to import npm packages into Rollup bundles. In particular, this package exposes both a main (UMD format) and module (ES2015 format) in its package.json.

License

MIT