Add simple readme and rename APIs

This commit is contained in:
Nick Gerleman
2022-12-23 03:08:21 -08:00
parent aaadf57b19
commit 51a2a3856e
7 changed files with 36 additions and 11 deletions

View File

@@ -8,9 +8,9 @@
*/
const wrapAsm = require('./wrapAsm');
const loadYoga = require('./asmjs-async');
const loadAsm = require('./asmjs-async');
module.exports = {
load: () => loadYoga().then(wrapAsm),
loadYoga: () => loadAsm().then(wrapAsm),
...require('./YGEnums'),
}