duoify

1.0.0 • Public • Published

Duoify

version js-standard-style

Allows Browserify bundles to be used by Duo by rewriting the require statements. This is useful when you have a module that is written using modules from npm and you want your package to be consumed by both npm and Duo.

npm install duoify

Usage

browserify index.js -t duoify > build.js

You'll probably need to add a component.json file to your project so that Duo loads the correct file.

{
    "name": "my-module",
    "main": "build.js"
}

Readme

Keywords

none

Package Sidebar

Install

npm i duoify

Weekly Downloads

2

Version

1.0.0

License

none

Last publish

Collaborators

  • anthonyshort