![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ohm-builder
Advanced tools
Bring ohm to your browser the easy way.
What's Ohm? Check it out.
This requires Node v4+
$ npm install --save-dev ohm-builder
Ohm has steps on defining your grammar for either the browser or node, but not both. Don't like having two sets of steps? Keep reading...
HTML's <script>
tag only allows you to use the src=
attribute if you're
using a path to a javascript file, not an Ohm grammar. Let's fix that.
Now you can write your HTML with script tags like: <script type="text/ohm-js" src="src/bash.ohm"></script>
. Run this tool and you can statically generate a
new HTML file with the grammar included.
Try it out as an npm script:
// put this in package.json
"scripts": {
// ...
"build": "ohm-builder.js src/index.generator.html index.html"
},
$ # Make your edits in src/index.generator.html
$ # Then run this command to build index.html
$ npm run build
If you don't want to constantly reenter that command, check out watch
to
automatically recompile your project:
$ npm install --save-dev watch
Then, assuming your file is inside src/
, put this in package.json
:
"scripts": {
// ...
"build": "ohm-builder.js src/index.generator.html index.html",
"build:watch": "watch 'npm run build' src"
},
FAQs
Bring ohm to your browser the easy way
The npm package ohm-builder receives a total of 7 weekly downloads. As such, ohm-builder popularity was classified as not popular.
We found that ohm-builder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.