Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@artcommacode/semify

1.0.4 • Public • Published

semify

A browserify transform for adding semicolons.

Installation

$ npm install --save @artcommacode/semify

Note: You'll need to add the -g flag if you're not using @artcommacode/semify from within an NPM script.

Usage

From the command-line:

$ browserify -t @artcommacode/semify main.js

or with the API:

var b = require('browserify')
var semify = require('@artcommacode/semify')
 
b.transform('semify')

For further information see the browserify handbook section on transforms.

Why

I'd rather not use semicolons but browserify would prefer I did. This small transform keeps us both happy by piggy-backing onto the hard work done by semi.

install

npm i @artcommacode/semify

Downloadsweekly downloads

4

version

1.0.4

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability