@kingjs/descriptor.nested

1.0.8 • Public • Published

@kingjs/descriptor.nested

Exports all @kingjs/descriptor.nested.* functionality in one package.

Usage

var nested = require('@kingjs/descriptor.nested');

Interfaces

declare interface NestedDescriptor {
  [index: string | number]: NestedDescriptor
} | any

Remarks

A NestedDescriptor can be though of like

  • a tree composed of nodes and leafs or
  • a collection of paths composed of directories and files.

APIs take at least two descriptors. The first, a tree, is the data to be selected, mutated, or merged according to the second, a set of paths, which acts as metatdata to distinguish nodes from leafs in the tree as well as drive the operation.

Namespace

API

Install

With npm installed, run

$ npm install @kingjs/descriptor.nested

License

MIT

Analytics

Dependents (1)

Package Sidebar

Install

npm i @kingjs/descriptor.nested

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

4.48 kB

Total Files

4

Last publish

Collaborators

  • kingces95