1.0.1 • Published 6 years ago

packageroot v1.0.1

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

Build Status

packageroot

return the closest parent or current directory that contains a package.json

example

var packageroot = require('packageroot');

packageroot('./',function(err,root){
  console.log(root);
  // if im in /root/package/test it would print 
  // /root/package 
});
1.0.1

6 years ago

1.0.0

7 years ago

0.0.6

7 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

11 years ago

0.0.0

12 years ago