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

meta-yaml

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meta-yaml

JSON Metafile generator for rsa-yaml

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

meta-yaml

JSON meta file generator for <a href:"https://github.com/saltukalakus/rsa-yaml.js">rsa-yaml.js

It does some very simple thing for now. Opens up a YML file, finds keys which has double quoted values. Generates a meta json object for detected keys and returns.

sample

YML file content:

---
key1: 1
key2: 'val2'
key3: "val3"
key4: true
key5:
 - { key6: 'val6.1'  , key7 : "val7.1" }
 - { key6: 'val6.2'  , key7 : "val7.2" }   

Generated JSON meta object:

{ double_quotes:
  [ 'key3',
    'key7' ] };

usage

fs   = require('fs');
myml = require('meta-yaml');
var json_out = myml.parse(fs.readFileSync("test-file.yml", 'utf8'));

install

npm install meta-yaml

Keywords

FAQs

Package last updated on 17 Dec 2014

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