get-paths

Helper function to get an absolute path for a template engine view

MIT 6 个版本
安装
npm install get-paths
yarn add get-paths
pnpm add get-paths
bun add get-paths
README

get-paths

build status code coverage code style styled with prettier made with lass license

Helper function to get an absolute path for a template engine view

Table of Contents

Install

npm:

npm install get-paths

yarn:

yarn add get-paths

Usage

const getPaths = require('get-paths');

const paths = await getPaths('views', 'home', 'pug');

Contributors

Name Website
Nick Baugh http://niftylettuce.com/

License

MIT © Nick Baugh

版本列表
0.0.7 2019-09-06
0.0.6 2019-09-06
0.0.5 2019-09-06
0.0.4 2018-08-22
0.0.2 2017-10-02
0.0.1 2017-09-22