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

VAMTIGER Reference Object Path

Get a reference for a defined object path.

Installation

VAMTIGER Reference Object Path can be installed using npm or yarn:

npm i --save vamtiger-reference-object-path

or

yarn add vamtiger-reference-object-path

Usage

Import or require a referece to VAMTIGER Reference Object Path:

import { ReferenceObjectPath } from 'vamtiger-reference-object-path';
const referenceObjectPath = require('vamtiger-reference-object-path') as ReferenceObjectPath;

or

const referenceObjectPath = require('vamtiger-reference-object-path');

VAMTIGER Reference Object Path can then be used to reference a defined object path:

const object = {
    some: {
        object: {
            path: 'reference to object path'
        }
    }
};
const path = 'some.object.path';
const reference = referenceObjectPath({
    object,
    path
}); // 'reference to object path'

Current Tags

  • 0.0.13                                ...           latest (2 years ago)

11 Versions

  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |