# nachos-home

> Get the path to the nachos home directory

Latest version **1.0.1** (published 2015-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install nachos-home
pnpm add nachos-home
yarn add nachos-home
bun add nachos-home
```

Provides the command `nachos-home`.

## 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.1 |
| Published | 2015-07-28 |
| First published | 2015-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+7 in 2 direct dependencies) |
| Install scripts | no |
| Author | Nachos team |
| Maintainers | omrilitov, eladbezalel, noamokman |
| Keywords | nachos, home, userhome |

## Links

- npm: https://www.npmjs.com/package/nachos-home
- Repository: https://github.com/nachos/nachos-home
- Issues: https://github.com/nachos/nachos-home/issues
- npm.io page: https://npm.io/package/nachos-home

## Dependencies (5)

- [open](https://npm.io/package/open.md) 0.0.5
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [lodash](https://npm.io/package/lodash.md) ^3.10.0
- [commander](https://npm.io/package/commander.md) ^2.8.1
- [os-homedir](https://npm.io/package/os-homedir.md) ^1.0.1

## Recent versions

- 1.0.1 (latest) — 2015-07-28
- 1.0.0 — 2015-07-28

## README

# nachos-home 

Get the path to the nachos home directory

<table>
  <thead>
    <tr>
      <th>Linux</th>
      <th>OSX</th>
      <th>Windows</th>
      <th>Coverage</th>
      <th>Dependencies</th>
      <th>DevDependencies</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td colspan="2" align="center">
        <a href="https://travis-ci.org/nachos/nachos-home"><img src="https://img.shields.io/travis/nachos/nachos-home.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://ci.appveyor.com/project/nachos/nachos-home"><img src="https://img.shields.io/appveyor/ci/nachos/nachos-home.svg?style=flat-square"></a>
      </td>
      <td align="center">
<a href='https://coveralls.io/r/nachos/nachos-home'><img src='https://img.shields.io/coveralls/nachos/nachos-home.svg?style=flat-square' alt='Coverage Status' /></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/nachos-home"><img src="https://img.shields.io/david/nachos/nachos-home.svg?style=flat-square"></a>
      </td>
      <td align="center">
        <a href="https://david-dm.org/nachos/nachos-home#info=devDependencies"><img src="https://img.shields.io/david/dev/nachos/nachos-home.svg?style=flat-square"/></a>
      </td>
    </tr>
  </tbody>
</table>

## Have a problem? Come chat with us!
[![Join the chat at https://gitter.im/nachos/nachos-home](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nachos/nachos-home?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Installation
``` bash
  $ [sudo] npm install nachos-home -g
```

**Note:** If you are using nachos home _programmatically_

``` bash
  $ cd /path/to/your/project
  $ [sudo] npm install nachos-home --save
```

## Examples
### From a command line
Print nachos home folder
``` bash
  $ nachos-home print
  /user/home/.nachos
```

Supports inner path parameter
``` bash
  $ nachos-home print foo/bar
  /user/home/.nachos/foo/bar
```

### From code
Getting nachos home folder
``` js
var nachosHome = require('nachos-home');

console.log(nachosHome()); // -> /user/home/.nachos
console.log(nachosHome('foo')); // -> /user/home/.nachos/foo
console.log(nachosHome('foo', 'bar')); // -> /user/home/.nachos/foo/bar
console.log(nachosHome(['foo', ['bar', ...]])); // -> /user/home/.nachos/foo/bar/...
```

## Run Tests
``` bash
  $ npm test
```

## License

[MIT](LICENSE)

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