1.0.0 • Published 1 year ago
test_module69420 v1.0.0
npm init
package name: (my-npm-module) my-awesome-module
version: (1.0.0) 1.0.0
description: A simple npm module that says hello
entry point: (index.js) index.js
test command:
git repository:
keywords: hello, world, example
author: Your Name
license: (ISC) MIT
touch index.js
// index.js
module.exports = function() {
console.log("Hello, world!");
};
touch README.md
My Awesome Module
This is a simple npm module that prints "Hello, world!" to the console.
Installation
npm install my-awesome-module
###################
npm adduser
*login in browser*
npm publish
*Generate Granual Access Token look on picture
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
npm config set //registry.npmjs.org/:_authToken=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
1.0.0
1 year ago