Search code snippets, questions, articles... Chrome Extension

npm module creation/publish

// --  npm module creation
let npmjsAuthCredentials = {
    username : 'purplecrow',
    password : '7600Akshat397973'

// -- login using cli

// npm folder  with same name as 
// that in the package & .js file in the package

// npm add user - if needed there for authenticating the 
// user to publish the credentials

// npm version if u want to add new one 
// npm publish
// Note:- Errors - before publishing git tree should be clean
// as without it , the files would not publish.

// -------   -----  for updating the version in the package to be used
//  npm install purplecrow@latest --save

let links = [
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
Was this helpful?
Join Devsheet Ask a Question