Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

atma-io-middleware-yml

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atma-io-middleware-yml

YAML middleware for Atma.IO and Atma.Toolkit

latest
npmnpm
Version
1.1.25
Version published
Maintainers
1
Created
Source

YAML file middleware for Atma.IO and Atma.Toolkit

The Plugin provides a custom middleware to transpile yml files to jsons on the fly:

How to use
Embed into the project
  • Atma Toolkit

    $ atma plugin install atma-io-middleware-yml --save-dev
    

    This adds atma-io-middleware-yml npm dependency and the package.json would look like:

        {
            "devDependencies": {
                "atma-io-middleware-yml"
            },
            "atma": {
                "plugins": [
                    "atma-io-middleware-yml"
                ],
                "settings": {
    				"atma-io-middleware-yml": {
                        "yml": {
                            // yaml settings
                        }
                    }
                }
            }
        }
    
  • App Bundler

    $ npm i atma-io-middleware-yml --save-dev
    

    Extend AppBundler config with yaml settings, e.g.

    {
        /* ... any package json settings */
        "app-bundler": {
            /* ... any app-bundler settings */
            "middlewares": {                
                "yml": [
                    "atma-io-middleware-yml:read"
                ]
            }
        },
    }
    
  • Run

    • Atma Toolkit Dev Server

      $ atma server
      
    • App Bundler Just run app bundler commands as usual

The MIT License

FAQs

Package last updated on 07 May 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