Socket
Socket
Sign inDemoInstall

enb-require-or-eval

Package Overview
Dependencies
21
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    enb-require-or-eval

Module, which assists in supporting transitional (from 'eval' to 'require') BEM formats.


Version published
Weekly downloads
50
increased by35.14%
Maintainers
1
Install size
303 kB
Created
Weekly downloads
 

Readme

Source

enb-require-or-eval

Build Status Build status

Module, which assists in supporting transitional (from 'eval' to 'require') BEM formats.

Usage:

var requireOrEval = require('enb-require-or-eval');

function someEvalingFunc() {
	return requireOrEval('path/to/bemjson.js').then(function (result) {
		//process result here
	}
}

Keywords

FAQs

Last updated on 08 Oct 2015

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