get-paths
Version:
Helper function to get an absolute path for a template engine view
62 lines (36 loc) • 1.39 kB
Markdown
# get-paths
[](https://travis-ci.org/niftylettuce/get-paths)
[](https://codecov.io/gh/niftylettuce/get-paths)
[](https://github.com/sindresorhus/xo)
[](https://github.com/prettier/prettier)
[](https://lass.js.org)
[](LICENSE)
> Helper function to get an absolute path for a template engine view
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)
## Install
[npm][]:
```sh
npm install get-paths
```
[yarn][]:
```sh
yarn add get-paths
```
## Usage
```js
const getPaths = require('get-paths');
const paths = await getPaths('views', 'home', 'pug');
```
## Contributors
| Name | Website |
| -------------- | -------------------------- |
| **Nick Baugh** | <http://niftylettuce.com/> |
## License
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)
##
[npm]: https://www.npmjs.com/
[yarn]: https://yarnpkg.com/