A set of convenience utils for JavaScript. An inspired, close-to-feature-parity port of python-htk-lite.
- Debug via writing to local file using
fdb(fdb('some debugging message')). Certifiably awesome, fast, and secure.
- Install via npm:
npm install htk.js - For
slackDebug, create a.envfile and add your Slack incoming webhook asSLACK_WEBHOOK_URL.
- (Recommended) Create a BASH alias or similar:
alias fdb='touch /tmp/fdebug.log; tail -f /tmp/fdebug.log'- In a separate window used for debugging, run
fdbto watch the logs roll in.
- In a separate window used for debugging, run
import { fdb } from 'htk.js/fdebug';fdb('Not all heroes wear capes')
import { slackDebug } from 'htk.js/';
slackDebug('Not all heroes wear capes');
- C# - https://github.com/hacktoolkit/csharp-htk
- JavaScript - https://github.com/hacktoolkit/htk.js
- PHP - https://github.com/hacktoolkit/php-htk
- Python (full) - https://github.com/hacktoolkit/python-htk
- Python (lite) - https://github.com/hacktoolkit/python-htk-lite
- Ruby - https://github.com/hacktoolkit/htk-rb
MIT. See LICENSE.md