New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wordprocessor

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wordprocessor

Process the word

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

WordProcessor

Publishing NPM Package

  • Create & Push Git Tag:

    git tag v1.0.0
    git push origin --tags
    
  • Login to Npm

    npm login
    userename: r******
    password: ***
    email: sam***.***.*****@****.com
    

    To Verify if Logged in:

    npm whoami 
    
  • Modify the tag version on package.json as below:

    {
      "name": "wordprocessor",
      "version": "1.0.0",
      ...
    }
    
  • Publish the package in npm js

    npm publish 
    

    Will Give Following output:

    npm notice 
    npm notice 📦  wordprocessor@1.0.0
    npm notice === Tarball Contents === 
    npm notice 767B   package.json
    npm notice 2.3kB  index.js    
    npm notice 1.4kB  README.md   
    npm notice 16.8kB test/test.js
    npm notice === Tarball Details === 
    npm notice name:          wordprocessor
    npm notice version:       1.0.0                                   
    npm notice package size:  4.1 kB                                  
    npm notice unpacked size: 21.2 kB                                 
    npm notice shasum:        57e02d067884918d114d2ea9a1bdb3cbb19ee3db
    npm notice integrity:     sha512-BrDfNniAQBnB6[...]B1Lo5b05Pn71Q==
    npm notice total files:   4                                       
    npm notice 
    + wordprocessor@1.0.0
    

Running Test

npm test

FAQs

Package last updated on 21 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts