list-imports-exports
Lists some simple ES6 import/export stats
Last updated 18 days ago by gpittarelli .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install list-imports-exports 
SYNC missed versions from official npm registry.

list-imports-exports

npm version

Just lists some simple stats about es6 module imports and exports. Powered by babylon and babel-traverse.

Also specifically lists "passthroughs", such as export a from './a'.

Usage example

> require('list-imports-exports').parse('export a, {b as c} from "./a";');
{
  imports: ['./a'],
  exports: ['a', 'c'],
  passthroughs: [['a', './a', 'default'], ['c', './b', 'b']]
}

Current Tags

  • 0.1.2                                ...           latest (18 days ago)

6 Versions

  • 0.1.2                                ...           18 days ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           8 months ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 18
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |