Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Quickly resolve the main path of a Bower component.
JavaScript
branch: master
Failed to load latest commit information.
bower-path.js Quick solution to a subtle problem.
package.json Added npm badge to readme.
readme.md Added npm badge to readme.

readme.md

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.


Something went wrong with that request. Please try again.