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

js2yaml

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js2yaml - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

5

index.js

@@ -8,2 +8,7 @@ #!/usr/bin/env node

if (!process.argv[2]) {
console.error("Please provide path to configuration file.");
process.exit();
}
const js2yamlConfig = require(path.resolve(process.argv[2]));

@@ -10,0 +15,0 @@ js2yamlConfig.forEach((config) => {

5

package.json
{
"name": "js2yaml",
"description": "Create configurations with the power of Javascript and convert it to YAML.",
"version": "1.0.3",
"version": "1.1.0",
"license": "MIT",

@@ -20,5 +20,2 @@ "author": "Maik Jablonski <jablonski@neoskop.de> (https://www.neoskop.de)",

},
"scripts": {
"start": "node index.js js2yaml.config.js"
},
"dependencies": {

@@ -25,0 +22,0 @@ "chokidar": "3.5.1",

4

README.md

@@ -7,3 +7,3 @@ # js2yaml

To get started, you have to provide a configuration file (e.g. `js2yaml.config.js`). E.g. the following configuration converts Javascript to YAML for Magnolia CMS and is provided as an example in the project:
To get started, you have to provide a configuration file (e.g. `js2yaml.config.js`). E.g. the following configuration converts Javascript to YAML for Magnolia CMS:

@@ -41,3 +41,3 @@ ```js

```sh
node js2yaml.js js2yaml.config.js
node index.js js2yaml.config.js
```
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