vamtiger-get-path-data
Get data for a defined path.
Last updated 2 years ago by vamtiger-project .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vamtiger-get-path-data 
SYNC missed versions from official npm registry.

VAMTIGER Get Path Data

VAMTIGER Get Path Data returns data associated with a defined path.

Installation

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

npm i vamtiger-get-path-data 

or

yarn add vamtiger-get-path-data

Usage

Import or require a referece to VAMTIGER Get Path Data:

import getPathData from 'vamtiger-get-path-data';

or

const getPathData = require('vamtiger-get-path-data').default;

VAMTIGER Get Path Data will return data for deined path:

getPathData('some/file/absolute/path')
    .then(handleResult)
    .catch(handleError);

Since VAMTIGER Get Path Data returns a Promise, it can be more conveniently executed within an async function:

async someAsyncFunction function() {
    const pathData = await getPathData('some/file/absolute/path');
}

Current Tags

  • 0.0.2                                ...           latest (2 years ago)

1 Versions

  • 0.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |