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

@roundingwellos/babel-plugin-handlebars-inline-precompile

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roundingwellos/babel-plugin-handlebars-inline-precompile

Precompile inline Handlebars templates.

  • 3.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
92
increased by64.29%
Maintainers
3
Weekly downloads
 
Created
Source

babel-plugin-handlebars-inline-precompile

Precompile inline Handlebars templates.

Example

In

import hbs from 'handlebars-inline-precompile';

hbs`Hello World!`;

Out

import _Handlebars from 'handlebars/runtime';

_Handlebars.template({ /* A bunch of crazy template stuff */ })

Installation

$ npm install babel-plugin-handlebars-inline-precompile

Usage

.babelrc

{
  "plugins": ["handlebars-inline-precompile"]
}

Via CLI

$ babel --plugins handlebars-inline-precompile script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["handlebars-inline-precompile"]
});

Keywords

FAQs

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

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