【文件属性】:
文件名称:taxjar-node:节点的Sales Tax API客户端
文件大小:47KB
文件格式:ZIP
更新时间:2021-02-18 11:36:08
ecommerce npm-package tax tax-rate taxjar
用于节点的TaxJar销售税API
Sales Tax API v2的官方Node客户端。 有关API文档,请访问 。
要求
Node.js v4.0及更高版本。
安装
npm install taxjar
验证
// CommonJS Import
const Taxjar = require ( 'taxjar' ) ;
// ES6 Import
// Using TypeScript? Pass `esModuleInterop` in tsconfig.json
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
import Taxjar from 'taxjar' ;
const client = new Taxjar ( {
apiKey : process . env . TAX
【文件预览】:
taxjar-node-master
----.gitignore(48B)
----.eslintrc(107B)
----package.json(1KB)
----package-lock.json(85KB)
----.travis.yml(79B)
----LICENSE(1KB)
----CHANGELOG.md(5KB)
----tsconfig.json(147B)
----README.md(16KB)
----lib()
--------taxjar.ts(5KB)
--------util()
--------types()
----test()
--------mocks()
--------taxjar.spec.js(17KB)
----.editorconfig(233B)