$ npm install plasticine.js
or
$ npm i plasticine.js
Syntax:
Operator | Description |
---|---|
$ |
Root |
* |
Wildcard. Available anywhere a name or numeric are required. |
.. |
Deep wildcard. Available anywhere a name is required. |
.<name> |
Dot-notated child |
['<name> (, <name>)'] |
Selecting multiple children |
[<number> (, <number>)] |
Indexed child or children |
[?(<expression>)] |
Filter expression. Expression must evaluate to a boolean value. |
[(<expression>)] |
Expression. Expression must evaluate to a string or numeric value. |
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test