New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -29,4 +29,2 @@ // WARNING!!!

module.exports = {
addTwoNumbers,
}
module.exports = addTwoNumbers;
{
"name": "add-2-numbers",
"version": "1.0.0",
"version": "1.0.1",
"description": "A very complex library written in Node.js for adding two numbers",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,7 +0,15 @@

# add-two-numbers
A very complex library written in Node.js for adding two numbers
# 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.
This method is around 1000x times faster than simple:
# Installation
Just make sure you have installed Node.js on your machine and run the following command:
```bash
$ 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!
```javascript

@@ -13,13 +21,27 @@ var a = 2;

Finally the add-two-numbers comes with help and now it prints the result after 0.000000001ms!
# 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!
```javascript
const addTwoNumbers = require('add-two-numbers');
const add2Numbers = require('add-2-numbers');
var a = 2;
var b = 2;
console.log(addTwoNumbers(a, b));
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!
```javascript
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?
```
<a href="https://www.patreon.com/bePatron?u=12270966">
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
</a>
# License
I chose the MPL-2.0 license, because... it's the longest license I have found, so why not?
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