Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmd-util

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmd-util

Utilities for common module definition.

  • 0.3.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
50
decreased by-37.5%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 13 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc