# scripts

> Resolve scripts based on supported extensions.

Latest version **0.1.0** (published 2013-08-16) · 0 weekly downloads

## Install

```sh
npm install scripts
pnpm add scripts
yarn add scripts
bun add scripts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-08-16 |
| First published | 2013-08-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jared Hanson |
| Maintainers | jaredhanson |
| Keywords | require, path |

## Links

- npm: https://www.npmjs.com/package/scripts
- Repository: https://github.com/jaredhanson/node-scripts
- Issues: http://github.com/jaredhanson/node-scripts/issues
- npm.io page: https://npm.io/package/scripts

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2013-08-16

## README

# scripts

[![Build](https://travis-ci.org/jaredhanson/node-scripts.png)](http://travis-ci.org/jaredhanson/node-scripts)
[![Coverage](https://coveralls.io/repos/jaredhanson/node-scripts/badge.png)](https://coveralls.io/r/jaredhanson/node-scripts)
[![Dependencies](https://david-dm.org/jaredhanson/node-scripts.png)](http://david-dm.org/jaredhanson/node-scripts)


Resolve scripts based on supported extensions.

## Install

    $ npm install scripts

## Usage

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

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

With CoffeeScript support:

```javascript
require('coffee-script');

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

## Tests

    $ npm install
    $ npm test

## Credits

  - [Jared Hanson](http://github.com/jaredhanson)

## License

[The MIT License](http://opensource.org/licenses/MIT)

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

---
_Source: https://npm.io/package/scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
