0.1.0 • Published 11 years ago

scripts v0.1.0

Weekly downloads
2,411
License
-
Repository
github
Last release
11 years ago

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/](http://jaredhanson.net/)