This library allows you to get information about companies from the Polish REGON database.
Install it via npm:
npm install sails-hook-regon --save
Configure config/regon.js
in your project:
module.exports.regon = {
key: 'ee8f4cf5b45e8f44257',
};
Use the built-in method:
sails.hooks.regon.<method>()
- searchByNip(nip): object