
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@mastergo/html-mastergo
Advanced tools
中文 | English
A library can convert html into MasterGo plugin data structures.
yarn add html-mastergo | npm install html-mastergo
Install MasterGo client and init a plugin project.
Build UI
Use the library
/** UI side **/
import { htmlToMG } from 'html-mastergo';
// any dom element
const convert = async () => {
const layerJson = await htmlToMG(document.body);
// post data to plugin
parent.postMessage({
type: 'generate',
data: layerJson
}, '*')
}
/** Plugin side **/
mg.ui.onmessage = (msg) => {
const { data, type } = msg
if (type === 'generate') {
// traverse
walk(data)
}
}
A few known limitations:
If you find any problems or have any feedback, please Ask a Question
FAQs
Convert HTML to Mastergo code
The npm package @mastergo/html-mastergo receives a total of 36 weekly downloads. As such, @mastergo/html-mastergo popularity was classified as not popular.
We found that @mastergo/html-mastergo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.