chemical-bulletins

1.0.3 • Public • Published

chemical-bulletins

Unofficial NodeJs package for make request to the SUNAT public information about chemical bulletins

Methods

getChemicalBulletin({ bulletinNumber: string, year: string }, options) => ChemicalBulletin

getChemicalBulletins([{ bulletinNumber: string, year: string }], options) => ChemicalBulletin[]

Formats

  • bulletinNumber

    • Length 6
    • Format 'XXXXXX', where X could be a value between 0 and 9

    e.g. '000001', '000101', etc.

  • year

    • Format 'YYYY'

    e.g. '2019', '2018', etc.

Options (optional)

The options object could receive any of the following keys.

  {
    parser: (body: HTMLObject) => any, Defines a custom parser
  }

Package Sidebar

Install

npm i chemical-bulletins

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

6.74 kB

Total Files

4

Last publish

Collaborators

  • greenh