Monday 23 October 2017

Finding pkg: retrieve array of exports' name from file

I want to be able to display all exports from an import module.It needs to be able to get from node_modules and absolute path as well.I found this package http://ift.tt/2yIwE1D. But doesn't look like it looks into node_modules folder.given a module '@something/test'it can go to node_modules > @something > test > *looking at package.json* > navigate to the correct index.js file

Submitted October 23, 2017 at 03:24PM by jonyeezy7

No comments:

Post a Comment