mine

0.1.0 • Public • Published

mine.js

The mine script accepts js source and returns all the require call locations as well as the target string. This is a submodule of js-linker and my-filters.

var mine = require('js-linker/mine.js');
var fs = require('fs');
var code = fs.readFileSync("test.js");
var deps = mine(code);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    208
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    208
  • 0.0.2
    71
  • 0.0.1
    2
  • 0.0.0
    0

Package Sidebar

Install

npm i mine

Weekly Downloads

281

Version

0.1.0

License

MIT

Last publish

Collaborators

  • creationix