{"_id":"@eliaspereyra/simple-npm-package","name":"@eliaspereyra/simple-npm-package","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@eliaspereyra/simple-npm-package","version":"0.0.2","description":"A simple npm package for demonstration purposes and use in a Node.js app.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/eliaspereyra/simple-npm-package.git"},"author":{"name":"EliasPereyra"},"license":"MIT","bugs":{"url":"https://github.com/eliaspereyra/simple-npm-package/issues"},"homepage":"https://github.com/eliaspereyra/simple-npm-package#readme","keywords":["node.js","javascript","npm","package","example","demo","hello world"],"_id":"@eliaspereyra/simple-npm-package@0.0.2","gitHead":"42a54c9b12deeea79494c6828fe259df34246102","_nodeVersion":"20.11.0","_npmVersion":"10.3.0","dist":{"integrity":"sha512-H5RzlnQFC2u+70dDRFaF6FTBhjctfmJ8WRp8gqm0g1tTOLA23/5UHTa6G2l40ucxybpoTlGpTHAStLMdiM/fgw==","shasum":"3c4117d489b1dbd2592a0ad51b33834f8ebb42f2","tarball":"https://registry.npmjs.org/@eliaspereyra/simple-npm-package/-/simple-npm-package-0.0.2.tgz","fileCount":4,"unpackedSize":3801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKZYYH2CxepsV+lZsFCH1u5JpRM+8qFEiv5P04qYnElAIgIEZBmbJypjMrqO8B/mg+nLQucpYnEW1j1Gddsw6VxII="}]},"_npmUser":{"name":"eliaspereyra","email":"EliasPereyra_Gomez@hotmail.com"},"directories":{},"maintainers":[{"name":"eliaspereyra","email":"EliasPereyra_Gomez@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-npm-package_0.0.2_1705417224527_0.35743833317741003"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-16T15:00:24.403Z","0.0.2":"2024-01-16T15:00:24.671Z","modified":"2024-01-16T15:00:24.954Z"},"maintainers":[{"name":"eliaspereyra","email":"EliasPereyra_Gomez@hotmail.com"}],"description":"A simple npm package for demonstration purposes and use in a Node.js app.","homepage":"https://github.com/eliaspereyra/simple-npm-package#readme","keywords":["node.js","javascript","npm","package","example","demo","hello world"],"repository":{"type":"git","url":"git+https://github.com/eliaspereyra/simple-npm-package.git"},"author":{"name":"EliasPereyra"},"bugs":{"url":"https://github.com/eliaspereyra/simple-npm-package/issues"},"license":"MIT","readme":"<div align=\"center\">\n\n# Simple npm Package\n\nA simple npm package for demonstration purposes and use in a Node.js app.\n\n</div>\n\n## Get Started\n\nFollow these steps to publish your own npm package for your own project or using this project.\n\n> This is using the CommonJS module format for use in Node.js apps. You can read more about CommonJS vs. ESM module formats in Node.js on the [LogRocket Blog](https://blog.logrocket.com/commonjs-vs-es-modules-node-js/)\n\n1. [Create a GitHub Repository](https://github.com/new)\n1. Clone the repo locally. Example `git clone https://github.com/snyk-labs/simple-npm-package.git`\n1. Open your terminal and change directories to the folder of your cloned project. Example `cd simple-npm-package`\n1. Run `npm init -y` to create a `package.json` file. Note: if you cloned this repository you won't need to do this step.\n1. Update package.json name property with a scoped name. Example `@snyk-labs/simple-npm-package`. Be sure to use your username or organization name instead of mine.\n1. Write code for the package (or just use the hello world example in `index.js`)\n1. [Sign up with npm](https://www.npmjs.com/signup). Also for better security be sure to enable [two-factor authentication](https://docs.npmjs.com/configuring-two-factor-authentication) on your npm account.\n1. Sign in with your npm account in your terminal using the command `npm login` and follow the on-screen instructions.\n1. Run `npx npm-packlist` to see the contents that will be included in the published version of the package.\n1. Run `npm publish --dry-run` to see what would be done when actually running the command.\n1. Run `npm publish --access=public` to actually publish the package to npm. Note: --access=public is needed for scoped packages (`@snyk-labs/simple-npm-package`) as they're private by default. If it's not scoped and doesn't have the `private` field set to `true` in `package.json` it will be public as well.\n","readmeFilename":"README.md"}