chemical-bulletins
v1.0.3
Published
Unofficial package to request information about chemical bulletins from the SUNAT website
Downloads
8
Maintainers
Readme
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
}