We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to make the data files usable from commonJS and ES6
cd @alheimsins/b5-johnson-120-ipip-neo-pi-r find ./data -name choices.js | while read i do o=${i}on node -e "console.log(JSON.stringify(require('$i'), null, 2))" >$o git rm $i git add $o echo converted $i to $o done git commit -m 'store choices in json format'
sample use:
const choices = await (await fetch(`/data/${lang}/choices.json`)).json();
import() only works with *.js files
import()
*.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
to make the data files usable from commonJS and ES6
sample use:
import()
only works with*.js
filesThe text was updated successfully, but these errors were encountered: