1.5.0 • Published 11 months ago
htk.js v1.5.0
htk.js
A set of convenience utils for JavaScript. An inspired, close-to-feature-parity port of python-htk-lite
.
Features
- Debug via writing to local file using
fdb
(fdb('some debugging message')
). Certifiably awesome, fast, and secure.
How to Use This Awesome?
Installation
- Install via npm:
npm install htk.js
- For
slackDebug
, create a.env
file and add your Slack incoming webhook asSLACK_WEBHOOK_URL
.
FDebug (FDB)
- (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
fdb
to 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')
Slack Debug (slack_debug
)
import { slackDebug } from 'htk.js/';
slackDebug('Not all heroes wear capes');
See Also
- 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
Authors and Maintainers
License
MIT. See LICENSE.md