1.0.3 • Published 5 years ago
chemical-bulletins v1.0.3
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.
- Format 'YYYY'
Options (optional)
The options object could receive any of the following keys.
{
parser: (body: HTMLObject) => any, Defines a custom parser
}