cmd-util

Utilities for common module definition.

Showing:

Popularity

Downloads/wk

173

GitHub Stars

15

Maintenance

Last Commit

7yrs ago

Contributors

3

Package

Dependencies

1

Size (min+gzip)

7.6KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

cmd-util

Utilities for common module definition.


This package is designed for developers, if you are a user, don't read this.

Build Status Coverage Status

Implements

  • ast: parse cmd javascript code, do whatever you want.
  • css: css parser
  • iduri: solutions for id and uri.

Install

$ npm install cmd-util

Contribute

Yes, please do contribute. But before this, you should read our Contributing Guide.

Changelog

August 12th, 2013 0.3.13

  1. @import without quote

August 5th, 2013 0.3.12

  1. Can modify require.async

July 23rd, 2013 0.3.11

  1. Parsing dependencies for define(id, factory)

June 18th, 2013 0.3.10

  1. Passing parent node to filter for css.stringify

Jun 9th, 2013 0.3.9

  1. Update uglify js dependency.

May 22nd, 2013 0.3.8

  1. Little fix #4

May 21st, 2013 0.3.7

  1. Family can has - in its name.

April 19th, 2013 0.3.6

  1. Support parse dependency of define('id', null, factory) #2

April 8th, 2013 0.3.5

  1. Fix parse dependency of require('foo')('bar')

Mar 29, 2013 0.3.4

  1. Only parse require, don't parse require.async

Mar 19, 2013 0.3.3

  1. Enhancement of ast. Delete a dependency by return null

Mar 16, 2013 0.3.2

  1. add iduri.validateFormat

Mar 14, 2013 0.3.1

  1. make css.walk the right way
  2. add css.strigify

Mar 14, 2013 0.3.0

  1. add css parser

Mar 2, 2013 0.2.0

  1. ast.modify return ast instead of string
  2. iduri.resolve only resolve cmd uri
  3. rewrite ast parser

Feb 1, 2013 0.1.0

This first version.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100