Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.5 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.5 KB

npm version

htk.js

A set of convenience utils for JavaScript. An inspired, close-to-feature-parity port of python-htk-lite.

Features

  1. Debug via writing to local file using fdb (fdb('some debugging message')). Certifiably awesome, fast, and secure.

How to Use This Awesome?

Installation

  1. Install via npm: npm install htk.js
  2. For slackDebug, create a .env file and add your Slack incoming webhook as SLACK_WEBHOOK_URL.

FDebug (FDB)

  1. (Recommended) Create a BASH alias or similar: alias fdb='touch /tmp/fdebug.log; tail -f /tmp/fdebug.log'
    1. In a separate window used for debugging, run fdb to watch the logs roll in.
  2. import { fdb } from 'htk.js/fdebug';
  3. fdb('Not all heroes wear capes')

Slack Debug (slack_debug)

import { slackDebug } from 'htk.js/';

slackDebug('Not all heroes wear capes');

See Also

Authors and Maintainers

License

MIT. See LICENSE.md