Skip to content

hacktoolkit/htk.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published