0.0.5 • Published 6 years ago

deps-matcher v0.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Deps Matcher

Match JS file's all dependencies.

Install

npm install deps-matcher;

Usage

const DepsMatcher = require('deps-matcher');

const matches = new DepsMatcher([
  path.join(__dirname, '../lib/index.js'),
  path.join(__dirname, '../lib/index.css')
].filter(DepsMatcher.isJSFile));

console.log(JSON.stringify(matches, null, 2));

Attention

  • Promise the input are absolute path;

Lisence

MIT Lisence.

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago