@vitalets/google-translate-api

v9.2.0
A free and unlimited API for Google Translate
translate translator google api free language

prepare

git config core.hooksPath ./.hooks

lint

eslint src test --ext .ts

tsc

tsc --noEmit

check

ts-node-esm check.ts

test

mocha -n loader=ts-node/esm test/setup.ts test/specs/*.ts

test:esm

node test/esm/prepare.mjs && node test/esm/test.cjs && node test/esm/test.mjs

toc

markdown-toc README.md -i --maxdepth 4

build:esm

rm -rf dist/esm && tsc -p tsconfig.build.json

build:cjs

rm -rf dist/cjs && tsc -p tsconfig.build.cjs.json && echo '{"type":"commonjs"}' > dist/cjs/package.json

build

npm run build:esm && npm run build:cjs

release

npm run lint && npm t && npm run build && npm run test:esm && np --yolo --no-release-draft
npm i @vitalets/google-translate-api

Metadata

  • MIT
  • >=14
  • Unknown
  • released 5/12/2023

Downloads

Maintainers