Home Manual Reference Source

Overview

Installation

Can be managed using jspm or npm.

jspm

jspm install npm:@aureooms/js-search-tree-spec

npm

npm install @aureooms/js-search-tree-spec --save

Usage

The code needs a ES2015+ polyfill to work, for example regenerator-runtime/runtime.

require( 'regenerator-runtime/runtime' ) ;
// or
import 'regenerator-runtime/runtime' ;

Then

const spec = require( '@aureooms/js-search-tree-spec' ) ;
// or
import spec from '@aureooms/js-search-tree-spec' ;

Examples