Skip to content

spmjs/cmd-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.