# hike

> Multihome files search library for mincer

Latest version **1.0.2** (published 2016-12-29) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-12-29 |
| First published | 2012-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Aleksey V Zapparov |
| Maintainers | vitaly |

## Links

- npm: https://www.npmjs.com/package/hike
- Repository: https://github.com/nodeca/hike-js
- Issues: https://github.com/nodeca/hike-js/issues
- npm.io page: https://npm.io/package/hike

## Recent versions

- 1.0.2 (latest) — 2016-12-29
- 1.0.1 — 2014-12-12
- 1.0.0 — 2014-12-01
- 0.1.4 — 2014-07-26
- 0.1.3 — 2014-01-08
- 0.1.2 — 2013-06-16
- 0.1.1 — 2012-10-13
- 0.1.0 — 2012-05-15

## README

hike
====

[![Build Status](https://travis-ci.org/nodeca/hike-js.svg?branch=master)](https://travis-ci.org/nodeca/hike-js)
[![NPM version](https://img.shields.io/npm/v/hike.svg)](https://www.npmjs.org/package/hike)

Inspired by [Hike (Ruby)](https://github.com/sstephenson/hike/) - a library for
finding files in a set of paths. It's only purpose is to simplify maintenance of
[mincer](https://github.com/nodeca/mincer). No pull requests are accepted unless
they are related to mincer needs.

See [API docs](https://nodeca.github.io/hike-js/) for details on methods.


Examples
--------

Find JavaScript files in this project:

    trail = new Hike("/home/ixti/Projects/hike-js");
    trail.appendExtensions([".js"]);
    trail.appendPaths(["lib", "test"]);

    trail.find("hike");
    # => "/home/ixti/Projects/hike-js/lib/hike.js"

    trail.find("test_hike");
    # => "/home/ixti/Projects/hike-js/test/test_hike.rb"

Explore your shell path:

    trail = new Hike("/");
    trail.appendPaths(process.env.PATH.split(":"));

    trail.find("ls");
    # => "/bin/ls"

    trail.find("gem");
    # => "/home/ixti/.rvm/rubies/ruby-1.9.2-p290/bin/gem"


Installation
------------

    $ npm install hike


License
-------

Copyright (c) 2014 Vitaly Puzrin, Aleksey V Zapparov

Released under the MIT license. See [LICENSE][license] for details.

[license]:  https://raw.github.com/nodeca/hike-js/master/LICENSE

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