SublimeCT / ts-scripts

TypeScript library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-scripts

TypeScript library

install

# install typescript & ts-node
➜  ts-scripts git:(master) ✗ yarn global add typescript ts-node
➜  ts-scripts git:(master) ✗ yarn
# set entry file permission
➜  ts-scripts git:(master) ✗ sudo chmod 744 sven.ts
➜  ts-scripts git:(master) ✗ yarn link
# or execute tsc to build command
➜  ts-scripts git:(master) ✗ ts-node sven

usage

➜  ts-scripts git:(master) ✗ sven -h

OCR

  • create ./config.ts to support OCR option
  • baidu OCR document
  • create ./scripts/ocr/sdk.d.ts, and append to tsconfig.json => include

About

TypeScript library

License:Apache License 2.0


Languages

Language:TypeScript 100.0%