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

add-2-numbers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-2-numbers

A very complex library written in Node.js for adding two numbers

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

add-2-numbers

add-2-numbers is a next generation math library of the 21st century, fully hackable and customizable... no, no wait, that's not an Electron app... It's a really complex library written in Node.js for adding two numbers

This library uses very advanced and complex algorithms such as Bloom Filter, neural network back propagation algorithm and so on.

Installation

Just make sure you have installed Node.js on your machine and run the following command:

$ npm install add-2-numbers

And it's done! How simple is that? Unfortunately the algorithm isn't as simple as the installation process of the package.

Benchmarks

This method (now it's just deprecated) is around 1000x slower than my super-duper advanced algorithm!

var a = 2;
var b = 2;
console.log(a + b); // It prints the result after 0.00001ms! That's incredibly slow!

Usage

This method is around 1000x times faster than simple:

Finally the add-2-numbers package comes with help and now it prints the result after 0.000000001ms!

const add2Numbers = require('add-2-numbers');

var a = 2;
var b = 2;
console.log(add2Numbers(a, b)); // Wow! Incredible! It's that simple, isn't it? And it's super fast!!!

But hold on... That's not the only feature this package comes with. You can also nest the operations!

const add2Numbers = require('add-2-numbers');

var a = 2;
var b = 2;
console.log(add2Numbers(a, add2Numbers(a, b))); // You haven't seen that before, huh?

License

I chose the MPL-2.0 license, because... it's the longest license I have found, so why not?

FAQs

Package last updated on 31 Oct 2018

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