multipath
Access your file from anywhere, built on the top of [node-root](https://github.com/egoist/node-root).
Last updated 5 years ago by kchan .
MIT · Original npm · Tarball · package.json
$ cnpm install multipath 
SYNC missed versions from official npm registry.

multipath

Access your file from anywhere, built on the top of node-root.

Usage

Install via NPM: npm install multipath --save

import mp from 'multipath'

mp.set('jsx', 'src/react/component')

// now access one of your jsx file
// return '$ProjectRoot/src/react/component/header.jsx'
mp.jsx('header.jsx')

License

MIT.

Current Tags

  • 0.0.21                                ...           latest (5 years ago)

3 Versions

  • 0.0.21                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |