1.0.3 • Published 9 months ago

@manoj-shrestha/manoj v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

To use mine npm module: Create a project and const var_name = require('@manoj-shrestha/manoj') from CommonJS module import * as var_name from '@manoj-shrestha/manoj';

You may have seen the error while compiling: install the package first: npm install @manoj-shrestha/manoj

Here you will get all the details to create modules by ourselves for others. 1. First you need a npm account. Create it. 2. Go to your terminal npm adduser 3. npm login 4. md newmodule && cd newmodule 5. touch package.json Haven't got touch as a command? npm install touch-cli -g 6. npm publish 6. Got errors? Inside package.json { "name": "@username/package_name" } Then publish. 7. Still got errors { "name" : "@username/package_name", "version" : "1.0.0" } npm publish Your file is uploaded to the npm account server You can checkout by clicking your profile photo in left hand side and packages. It will display all your packages there.

Package doesn't have any code?
1. Create repo in the github
2. Create README.md in the local repo. 
3. Push the project into the github but before that : Include some into the package.json 

{
"name" : "@manoj-shrestha/manoj",
"version" : "1.0.1",
"description": "Removes all spaces from the string",
"license":"MIT",
"repository": "remon343/tiny-modules",
"main" : "index.js",
"keywords": [
    "manoj",
    "npm",
    "package",
    "remon343"
]

}

For updating into the npm package as well . 1. Change the version and publish again. npm publish

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago