vamtiger-get-root-path
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

VAMTIGER Get Root Path

VAMTIGER VAMTIGER Get Root Path will return a a root path for a defined array of paths.

Installation

VAMTIGER VAMTIGER Get Root Path can be installed using npm or yarn:

npm i --save vamtiger-get-root-path

or

yarn add vamtiger-get-root-path

Usage

Import or require a referece to VAMTIGER VAMTIGER Get Root Path:

import getRootPath from 'vamtiger-get-root-path';

or

const getRootPath = require('vamtiger-get-root-path').default;

VAMTIGER VAMTIGER Get Root Path will return a a root path for a defined array of paths.

const getRootPath = require('vamtiger-get-root-path').default

const paths = [
    'some/root/path/file.ext',
    'not/some/root/path/file.ext'
];
const rootPath = getRootPath({ html })
// 'some/root/path/file.ext'

Readme

Keywords

Package Sidebar

Install

npm i vamtiger-get-root-path

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

10.7 kB

Total Files

18

Last publish

Collaborators

  • vamtiger-project