1.0.0 • Published 6 years ago
tinka v1.0.0
ts-module-boilerplate
This boilerplate allows the quick creation of npm modules written in Typescript.
- Typescript 3.x
- creates an ES5 bundle
- creates a TypeScript declaration bundle
- packs it for npm usage
- uses jest for testing
- uses travis and semantic-release for deployment
- uses linting, coverage and git hooks to increase code quality.
- is configured to support wallaby
This is a http client made on top of @crazyfactory/tinka
, this is just a small wrapper around it to ensure we get better type completion but ensuring it'll be used only over HTTP.
To install, simply run npm install tinka
Usage
import {Client} from "tinka";
const client = new Client({baseUrl: "//localhost:30080"});
client.process({url: "/api/"})
1.0.0
6 years ago