Socket
Socket
Sign inDemoInstall

babel-plugin-transform-adonis-hash

Package Overview
Dependencies
28
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-transform-adonis-hash

Pre-hashes adonis object styles to support external CSS files


Version published
Weekly downloads
5
Maintainers
1
Install size
4.89 MB
Created
Weekly downloads
 

Readme

Source

babel-plugin-babel-transform-adonis-hash

Pre-hashes adonis object styles to support external CSS files

Example

In

adonis.div({
  background: 'blue'
})

Out

adonis.div('1nxhvta');

Installation

$ npm install babel-plugin-transform-adonis-hash

Usage

.babelrc

{
  "plugins": ["transform-adonis-hash"]
}

Via CLI

$ babel --plugins transform-adonis-hash script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-adonis-hash"]
});

Keywords

FAQs

Last updated on 13 Feb 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc