New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kindled-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kindled-utils - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

10

index.js
const fs = require('fs-extra')
const { writeFile } = require('fs-extra');
exports.getUUID = function(length) {

@@ -42,1 +43,10 @@ var result = '';

}
exports.toJSONFile = function(path, object){
let data = JSON.stringify(object);
writeFile(path, data, (err) => {
if (err) throw err;
console.log(`\n[UTILS] Object writted to ${path}`);
});
}

12

package.json
{
"name": "kindled-utils",
"version": "1.0.5",
"version": "1.0.6",
"description": "A few functions all in one module.",

@@ -10,3 +10,11 @@ "main": "index.js",

"author": "Kindled",
"license": "ISC"
"license": "ISC",
"keywords": [
"utils",
"uuid",
"time",
"date",
"fs",
"replace"
]
}

4

README.md

@@ -11,5 +11,5 @@ # Kindled Utils

**Update v1.3**
Fixed up time() and made date() it's own thing
**Update v1.6**
Added toJSONFile(path, object) - writes JS object to JSON
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