Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stpettersens/modularize
:white_medium_square: Simple tool to wrap JavaScript code in AMD modules.
https://github.com/stpettersens/modularize
Last synced: about 1 month 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T16:24:04.000Z (about 9 years ago)
- Last Synced: 2023-03-11T09:27:39.799Z (almost 2 years 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
[![Build Status](https://travis-ci.org/stpettersens/modularize.png?branch=master)](https://travis-ci.org/stpettersens/modularize)
[![npm version](https://badge.fury.io/js/modularize-util.svg)](http://npmjs.org/package/modularize-util)
[![Dependency Status](https://david-dm.org/stpettersens/modularize.png?theme=shields.io)](https://david-dm.org/stpettersens/modularize) [![Development Dependency Status](https://david-dm.org/stpettersens/modularize/dev-status.png?theme=shields.io)](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)