Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@dtinsight/molecule
Advanced tools
A Web IDE UI Framework built with React.js, inspired by VSCode.
The Molecule is a lightweight Web IDE UI framework which is built with React.js and inspired by the VSCode. We have designed the Extension APIs similar to the VSCode, to help developers extend the Workbench in an easier way. It's convenient to integrate the Molecule with React.js applications. It has been applied to many products in DTStack
npm install @dtinsight/molecule
# Or
yarn add @dtinsight/molecule
import React from 'react';
import ReactDOM from 'react-dom';
import { create, Workbench } from '@dtinsight/molecule';
import '@dtinsight/molecule/esm/style/mo.css';
const moInstance = create({
extensions: [],
});
const App = () => moInstance.render(<Workbench />);
ReactDOM.render(<App />, document.getElementById('root'));
The extension
is the Extension applications entry, more details about Extension, please read the Quick Start.
git clone git@github.com:DTStack/molecule.git
Clone the source code into your local
Development Mode
yarn # Install dependencies
yarn dev # Start dev mode
The Molecule using the Storybook to manage and develop the React components, the default visiting address is http://localhost:6006/
.
Test
yarn test -u
Build & Preview
yarn build # Compile to ESM
yarn web # Web Preview Mode
We compile the source code into the ES6 modules and output to the esm
folder. Besides the Storybook development mode, there also builtin a Web Preview mode using the ESM modules.
Refer to the CONTRIBUTING.
30537511
or scan the QR code below to join the communication groupCopyright © DTStack. All rights reserved.
Licensed under the MIT license.
FAQs
A Web IDE UI Framework built with React.js, inspired by VSCode.
The npm package @dtinsight/molecule receives a total of 22 weekly downloads. As such, @dtinsight/molecule popularity was classified as not popular.
We found that @dtinsight/molecule demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.