Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Moloko is an embedded web based code editor built atop of Monaco.
Moloko has peer dependencies on mithril.js and Æsthetic. Both these modules need to be installed in order for moloko to be used.
pnpm add moloko
pnpm add mithril esthetic
Moloko is developed for playground usage within Æsthetic and Liquify.
Moloko is running atop of Monaco and thus it requires workers be integrated into a distribution bundle of your project.
Currently Moloko provides support for a single (dark) theme:
In addition to Liquid, Moloko also supports several other languages:
Moloko leverages the powerful mithril.js SPA framework together with the Æsthetic beautification tool and Monaco text editor.
import moloko from 'moloko';
// Render the editor to a document element
moloko.mount(document.body, options?: Options);
Despite running atop of Monaco, Moloko will spin up its own build and expose it. In order to support the grammars and embedded languages of the Shopify Liquid variation the module employs its own Liquid grammar.
npm i pnpm -g
pnpm env
if you need to align node versionsgit clone https://github.com/panoply/moloko.git
pnpm i
in the root directorypnpm dev
and start codingYou can run pnpm build
to generate a distributed bundle.
FAQs
Moloko is an embedded web based code editor built atop of Monaco
The npm package moloko receives a total of 3 weekly downloads. As such, moloko popularity was classified as not popular.
We found that moloko 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.