No description
Find a file
2021-06-13 21:07:17 +00:00
.github/workflows ci: remove missing needs 2021-06-13 04:20:24 +01:00
.husky docs: remove README todos 2021-06-13 03:21:32 +01:00
examples feat: add CCashClient methods 2021-06-13 03:01:37 +01:00
src fix: correct password as body calls 2021-06-13 22:05:58 +01:00
test feat: add CCashClient methods 2021-06-13 03:01:37 +01:00
.gitignore chore: gitignore coverage build dir 2021-06-13 03:02:37 +01:00
babel.config.js feat: initial commit 2021-06-13 00:02:06 +01:00
CHANGELOG.md chore(release): 1.6.0 [skip ci] 2021-06-13 21:07:17 +00:00
commitlint.config.js ci: add publish workflow 2021-06-13 03:18:43 +01:00
jest.config.ts feat: initial commit 2021-06-13 00:02:06 +01:00
package.json chore(release): 1.6.0 [skip ci] 2021-06-13 21:07:17 +00:00
prettier.config.js feat: initial commit 2021-06-13 00:02:06 +01:00
README.md docs: add --save to npm install example 2021-06-13 03:41:48 +01:00
release.config.js ci: remove release notes from release commit 2021-06-13 04:13:32 +01:00
tsconfig.json ci: remove missing needs 2021-06-13 04:20:24 +01:00
yarn.lock ci: add token envs 2021-06-13 04:00:49 +01:00

ccash-client-js

TypeScript/JavaScript client library for CCash HTTP API.

Installation

yarn add ccash-client-js
# or
npm install --save ccash-client-js

Usage

import { CCashClient } from 'ccash-client-js';

process.env.CCASH_API_BASE_URL = 'https://your.ccash.api';

const client = new CCashClient();

console.log(await client.balance('blinkblinko'));

Examples

Run yarn start to run the examples from their corresponding directory.

Development

  • Build for production: yarn build

  • Build and watch for development: yarn dev

  • Format source code w/ prettier: yarn format

  • Test source units w/ jest: yarn test