{"_id":"1roll","_rev":"4-c74f8122707c62e67642873fe6e7b42b","name":"1roll","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"1roll","version":"1.0.0","main":"main.cjs.js","module":"module.esm.js","browser":"browser.umd.js","dependencies":{"ms":"^2.0.0"},"devDependencies":{"rollup":"^1.0.0","rollup-plugin-buble":"^0.19.6","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-node-resolve":"^4.0.0"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"node test/test.js","pretest":"npm run build"},"description":"[![Greenkeeper badge](https://badges.greenkeeper.io/rollup/rollup-starter-lib.svg)](https://greenkeeper.io/)","_id":"1roll@1.0.0","_nodeVersion":"12.14.1","_npmVersion":"7.5.3","dist":{"integrity":"sha512-EUFEaJdTMg/3J4k07DWe+xmuMitdFKpPCidTvVC6nIQQ+xD+ShzUTpmPLGMr0WJkbwkn2l3MErcMaOQjDlHZMQ==","shasum":"b7a705aeaf5d53f3f8d0c944c5d44fdc3e7c1e41","tarball":"https://registry.npmjs.org/1roll/-/1roll-1.0.0.tgz","fileCount":13,"unpackedSize":17925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL+B/CRA9TVsSAnZWagAAgpMP/0dpkzewBtBng6CpzxDm\nhy1KQsuF5v48kIt1eDnafkUUtg/j3PKk0XJ2H/Gz92iJSiy3ksDwwRlZAOCP\naZOiZzlZ34R9C1MBN0Sp/WvJxTL2d+MNnWHqzP9EU1qA0VqL8ItBm/YzF+aS\nMTcDofE+W1p9H78unNLR3/UPRmpSWGcoCClzsafGdgr3OCaJRuff3b02aI5q\nmIkKGk7q6riOEBTOuvFicxuFsX6LX7kIOpxPquKlpdTE4jU8fcJhEjhnlIG2\nk7Q5kMSqVqMm241mDN6BFmuZgXRnYOYs3xTo5h9jToeWY5oAJYflyCxq5OGK\nuEQNwnG9haNtKcNH0iah472iyWIBYYxJpmEBLA9CL3LOfOIMojCHOC8PupRD\nxNrBXzmwuANcyj4GWqlI4wvoiHmK0BDuCtzcRuRsdzTKz5HKpPbTrwqSDDKG\nSNI0YYSyuZaA1cPXarJVZpxw2X7dMTZFofY525jas+SZSZbqxpHfEDWN+Mqn\nLH95amdiXgxzfcW3bh1VPD5ZjbzImzEz9H4L1Bi+O+MEKH1PJK0AtNZqDxje\nV8PH7ZF53x01qxSfpLg8eoYw0oExNtA9ghfo64LuycFQ/1guL8IhRFs6psm3\nJLGKVCB6+lDpYstDYxfwknBENt9ENFNhacjuLR9fK/V7wxtrp1LgnCSsM9PU\nJZX+\r\n=MWp3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXmBJ2gK3NZYiNQEjdZW0bIMyoUjmc8E6CQPMo5UhVEAiEAz4WCcSf/JVvXpDyZVn9WV6ezJYlP4oYA2pykLgIg+GE="}]},"_npmUser":{"name":"vsamaru","email":"vsamaru@gmail.com"},"directories":{},"maintainers":[{"name":"vsamaru","email":"vsamaru@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/1roll_1.0.0_1613750398737_0.5766253407380111"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-19T15:59:58.736Z","1.0.0":"2021-02-19T15:59:58.910Z","modified":"2023-02-20T18:36:15.581Z"},"maintainers":[{"email":"dad2vad@gmail.com","name":"dad22"},{"email":"zbndmt@gmail.com","name":"zbndm"},{"email":"vsamaru@gmail.com","name":"o6"}],"description":"[![Greenkeeper badge](https://badges.greenkeeper.io/rollup/rollup-starter-lib.svg)](https://greenkeeper.io/)","readme":"# rollup-starter-lib\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/rollup/rollup-starter-lib.svg)](https://greenkeeper.io/)\n\nThis repo contains a bare-bones example of how to create a library using Rollup, including importing a module from `node_modules` and converting it from CommonJS.\n\nWe're creating a library called `how-long-till-lunch`, which usefully tells us how long we have to wait until lunch, using the [ms](https://github.com/zeit/ms) package:\n\n```js\nconsole.log('it will be lunchtime in ' + howLongTillLunch());\n```\n\n## Getting started\n\nClone this repository and install its dependencies:\n\n```bash\ngit clone https://github.com/rollup/rollup-starter-lib\ncd rollup-starter-lib\nnpm install\n```\n\n`npm run build` builds the library to `dist`, generating three files:\n\n* `dist/how-long-till-lunch.cjs.js`\n    A CommonJS bundle, suitable for use in Node.js, that `require`s the external dependency. This corresponds to the `\"main\"` field in package.json\n* `dist/how-long-till-lunch.esm.js`\n    an ES module bundle, suitable for use in other people's libraries and applications, that `import`s the external dependency. This corresponds to the `\"module\"` field in package.json\n* `dist/how-long-till-lunch.umd.js`\n    a UMD build, suitable for use in any environment (including the browser, as a `<script>` tag), that includes the external dependency. This corresponds to the `\"browser\"` field in package.json\n\n`npm run dev` builds the library, then keeps rebuilding it whenever the source files change using [rollup-watch](https://github.com/rollup/rollup-watch).\n\n`npm test` builds the library, then tests it.\n\n## Variations\n\n* [babel](https://github.com/rollup/rollup-starter-lib/tree/babel) — illustrates writing the source code in ES2015 and transpiling it for older environments with [Babel](https://babeljs.io/)\n* [buble](https://github.com/rollup/rollup-starter-lib/tree/buble) — similar, but using [Bublé](https://buble.surge.sh/) which is a faster alternative with less configuration\n* [TypeScript](https://github.com/rollup/rollup-starter-lib/tree/typescript) — uses [TypeScript](https://www.typescriptlang.org/) for type-safe code and transpiling\n\n\n\n## License\n\n[MIT](LICENSE).\n","readmeFilename":"README.md"}