Needlessly Postulating Minds
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bower-pathpublic

    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.


    install

    npm i bower-path

    Downloadsweekly downloads

    3

    version

    1.0.1

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar