get-paths

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

Usage no npm install needed!

<script type="module">
  import getPaths from 'https://cdn.skypack.dev/get-paths';
</script>

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