scripts

0.1.0 • Public • Published

scripts

Build Coverage Dependencies

Resolve scripts based on supported extensions.

Install

$ npm install scripts

Usage

Resolve a require-able script to a path, including extension.

var path = scripts.resolve('hello');
// => 'hello.js'

With CoffeeScript support:

require('coffee-script');
 
var path = scripts.resolve('hello');
// => 'hello.coffee'

Tests

$ npm install
$ npm test

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    6,039
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    6,039

Package Sidebar

Install

npm i scripts

Weekly Downloads

5,043

Version

0.1.0

License

none

Last publish

Collaborators

  • jaredhanson