https://github.com/stpettersens/modularize
:white_medium_square: Simple tool to wrap JavaScript code in AMD modules.
https://github.com/stpettersens/modularize
Last synced: 4 months ago
JSON representation
:white_medium_square: Simple tool to wrap JavaScript code in AMD modules.
- Host: GitHub
- URL: https://github.com/stpettersens/modularize
- Owner: stpettersens
- License: other
- Created: 2015-12-06T19:05:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T16:24:04.000Z (over 9 years ago)
- Last Synced: 2025-01-14T10:56:26.764Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# modularize
[](https://travis-ci.org/stpettersens/modularize)
[](http://npmjs.org/package/modularize-util)
[](https://david-dm.org/stpettersens/modularize) [](https://david-dm.org/stpettersens/modularize#info=devDependencies)> :white_medium_square: Simple utility to wrap JavaScript code into AMD modules.
##### Install:
`npm install -g modularize-util` for `modularize` command.
##### Usage:
```
Usage: modularize input output [['dependency:symbol']][-q|--quiet][-n|--no-colors]
[-h|--help|-v|--version]input : Input file to wrap as a module.
output : Output file wrapped as a module.
['dependency:symbol'] : Array of dependency:symbol(s).
-q | --quiet : Be less verbose (only error output).
-c | --no-colors : Don't use colorful output.
-h | --help : Display this usage information and exit.
-v | --version : Display application version and exit.
```##### Using Gulp or Grunt?
:tropical_drink: [gulp-modularize](http://github.com/stpettersens/gulp-modularize)
:boar: [grunt-modularize](http://github.com/stpettersens/grunt-modularize)