Movatterモバイル変換


[0]ホーム

URL:


@artcommacode/semify

1.0.4 • Public • Published

semify

Abrowserifytransform 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 anNPM script.

Usage

From the command-line:

$ browserify -t @artcommacode/semify main.js

or with the API:

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

For further information see thebrowserify handbook section ontransforms.

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 bysemi.

Package Sidebar

Install

npm i @artcommacode/semify

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • artcommacode

[8]ページ先頭

©2009-2025 Movatter.jp