Skip to content

cobbdb/bower-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

bower-path NPM version

Quickly resolve the main path of a Bower component.

$ npm install bower-path

Resolving a Bower component's path

bower-path looks inside the component's .bower.json file for the main attribute.

var resolve = require('bower-path');
var path = resolve('jquery');

bower-path takes into consideration .bowerrc config files, and defaults to bower_components.


About

Quickly resolve the main path of a Bower component.

Resources

Stars

Watchers

Forks

Packages

No packages published