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

esdoc-livescript

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

esdoc-livescript

Allows esdoc to use livescript exports

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

esdoc-node

Usage

Get the package:

npm install esdoc-node

Add the following to your esdoc config file:

{
  "plugins": [{"name": "esdoc-node"}]
}

What it does

It converts the input of esdoc so that node.js' exports and module.exports becomes ES6's export.

This table shows the translation rules:

BeforeAfter
module.exports = ...;export default ...;
exports.Hello = class Hello { ... };export class Hello { ... };
exports.world = function world() { ... };export function world() { ... };
exports.value = value;export { value };
exports.value = ...;export let value = ...;

Keywords

esdoc

FAQs

Package last updated on 18 Apr 2017

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