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

grand-array

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grand-array - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

index.js

@@ -245,3 +245,10 @@ module.exports = {

return primes.length;
},
toJSON : function(arr){
var obj = JSON.stringify(arr);
var fs = require('fs');
fs.writeFile("array.json", obj, function(err, result) {
if(err) console.log('error', err);
});
}
}

2

package.json
{
"name": "grand-array",
"version": "1.1.0",
"version": "1.1.1",
"description": "Easy to use Array Manipulator with tons of Array Operations",

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

@@ -69,2 +69,10 @@ # grand-array

## JSON Objects
```javascript
GrandArray.toJSON(array) //creates a .json file containing the same object
```
## Sorting And Reversing

@@ -71,0 +79,0 @@

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