You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far I used this code in order to build for NodeJS, but then I cannot really import & use the parse function within my codebase: clj -M -m cljs.main --target node --output-to main.js -c mp3-parser.app
Or, to be specific, I did manage to import the function, but then it provides very convoluted result.
How I imported:
Hi! Can somebody please provide guidance on how to use main
parse
function fromapp.cljc
in order to get result as regular JS object?Something like this (expected result):
So far I used this code in order to build for NodeJS, but then I cannot really import & use the
parse
function within my codebase:clj -M -m cljs.main --target node --output-to main.js -c mp3-parser.app
Or, to be specific, I did manage to import the function, but then it provides very convoluted result.
How I imported:
How I used the import:
const result = mp3_parser.app.parse(mp3FilePath);
Result that I got:
The text was updated successfully, but these errors were encountered: