New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@granite-elements/granite-yaml

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

@granite-elements/granite-yaml

A set of Custom Elements to deal with YAML files

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

Published on webcomponents.org

granite-yaml

A set of Custom Elements to deal with YAML files.

Available elements:

  • granite-yaml-parser: A parser of YAML to JS object, based on JS-YAML.
  • granite-yaml-remote-parser: A parser of YAML that grabs a YAML file from an URL and parses it into JS object.

Polymer 3.x. element The legacy Polymer 2.x version is available here

Usage example

<granite-yaml-parser 
    yaml='[[yaml]]' 
    obj="{{obj}}" 
    debug></granite-yaml-parser>

Install

Install the component using npm:

$ npm i @granite-elements/ace-widget --save

Once installed, import it in your application:

import '@granite-elements/granite-yaml/granite-yaml-parser.js';

Running demos and tests in browser

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

License

Apache Licence, Version 2.0

FAQs

Package last updated on 07 Aug 2018

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