hscode collection in a library
# npm
npm install shopify-hscode
# yarn
yarn add shopify-hscodeimport { getAllHSCode } from 'shopify-hscode';
getAllHSCode();
//=> [{
section: 'I',
hscode: '01',
description: 'Animals; live',
parent: 'TOTAL',
level: '2',
},...]get; the list of hscode childs. If not proide by default will return top level hs codes.
Type: string
parent hs code number
filter out the hscode matching given string in description of hscode.
Type: string
search param
filter out the hscode having given string in hscode numebr.
Type: string
valid hscode
get hscode by hscode number
Type: string
valid hscode
get complete list of hscode available in library