https://github.com/matthijskamstra/hxexterns
my personal js externs
https://github.com/matthijskamstra/hxexterns
Last synced: about 1 month ago
JSON representation
my personal js externs
- Host: GitHub
- URL: https://github.com/matthijskamstra/hxexterns
- Owner: MatthijsKamstra
- License: mit
- Created: 2017-10-20T09:49:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T18:04:26.000Z (over 1 year ago)
- Last Synced: 2025-01-22T02:48:57.468Z (3 months ago)
- Language: Haxe
- Size: 242 KB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hxexterns

WIP, as is everything is on the internet...
**my personal set of JavaScript externs**
## What is in this included
- js
- chartjs
- codemirror
- dat
- gui
- firebase
- html
- node
- mongodb
- mongoose
- npm
- castv2client
* [Airtable](https://www.npmjs.com/package/airtable)
* Cheerio
* Gpio (onoff)
* NeDB
* NodeJsonDB
* SlackClient
* Spotify
* WebSocket
* Slack
* YoutubeDownloader
* YoutubeNode
- typeform
* Croppie
* PDFDocument
* QRCode
* SVGtoPDF
* Tabletop
* TwitterFetcher---
Stole
## how
I usually go for the easy solution, but **sometimes** I try to create a complete set of externs.
I try to make the transpiled js look similar to the "normal" way javascript works.
Repo folder structure
```
+ bin (Haxe transpile folder, should look like normal js)
+ examples (test files for [howto.md](howto.md) )
+ src (folder for the externs)
+ js (javascript)
+ npm (via npm installed js)
+ ....
+ node (not sure)
+ php (old folder with php externs)
+ test (folder with Haxe test files -> bin)
```## Haxe Externs
What is the best way to start with Haxe Externs: read this [tutorial](howto.md)
## Haxelib
**Use this at your own risk!**
Most of it is #WIP
Use this git directly
```bash
haxelib git hxexterns https://github.com/MatthijsKamstra/hxexterns.git
```You can use this git repos as a development directory:
```bash
haxelib dev hxexterns path/to/folder
```don't forget to add it to your build file
```bash
-lib hxexterns
```## misc
> GPIO access and interrupt detection with Node.js on Linux boards like the Raspberry Pi, C.H.I.P. or BeagleBone.
> v1.1.8```
npm install onoff
```---
> A simple "database" that use JSON file for Node.JS.
```
npm install node-json-db --save
```---