Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sumsum

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sumsum

sum up two numbers

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Structure

  • src — this is where we’ll store our ES6 code files.
  • dist — this is where we’ll store the transpiled ES5 code.
  • We need to install babel dependencies to transpile the ES6 code to ES5.

Test your node module before you publish

  • npm link in node module project directory.

  • npm link @scope-name/my-new-npm-package in other developing project

  • npm unlink --no-save @scope-name/my-new-npm-package to unlink

  • npm pack If you want to double check that your package will include only the files you intend it to when published.

  • yarn run build && npm link would be helpful.

publish to github packages

  • go to https://github.com/settings/tokens
  • add a new token with write:packages
  • create .npmrc
  • update fields in package.json (name & repository field)
  • run npm login --scope=@YOUR_GITHUB_USERNAME --registry=https://npm.pkg.github.com
  • your password is your token.

Ref

FAQs

Package last updated on 06 Oct 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc