scripts

Resolve scripts based on supported extensions.

1 个版本
安装
npm install scripts
yarn add scripts
pnpm add scripts
bun add scripts
README

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/>

版本列表
0.1.0 2013-08-16