0.1.2 • Published 4 years ago

product-extractor v0.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

product-extractor

Extract products from HTML.

Supported filters

  • trim

  • reverse

  • slice - slice:1,50

  • number - convert string to number

  • integer - convert string to integer

  • object - parse JSON to object.

  • objectField - get an object's field value by its path.

  • digits - remove all non-digit characters

const user = { name: "Jon", tags: ["JSON", "HTML"] };

For getting second tag from user use | object | objectField:tags.1

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago