
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
A web component that provides a TypeScript editor with autocomplete, type checking, and syntax highlighting. Optionally supports real-time collaboration using Yjs.
A web component that provides a TypeScript editor with autocomplete, type checking, and syntax highlighting. Optionally supports real-time collaboration using Yjs.
npm install @cxai/ide
<script type="module">
import '@cxai/ide';
</script>
<ts-editor value="import { createMachine } from 'xstate';" url="%YJS_URL%" room="%YJS_ROOM%" component="codemirror" >
</ts-editor>
value
: Get or set the editor contenturl
: WebSocket URL of the Hocuspocus serverroom
: Room name for collaboration (defaults to 'default-room'), this will be the doc idcomponent
: The component name in the yjs docm, defaults to 'codemirror'MIT
This package provides form components that integrate with YJS for real-time collaboration.
npm install yjs-form-components
The package provides a <yjs-text-input>
web component that can be used in any HTML form and automatically syncs with YJS.
<form>
<!-- Basic usage -->
<yjs-text-input
name="description"
url="ws://localhost:1234"
room="my-document"
required
></yjs-text-input>
<!-- With all options -->
<yjs-text-input
name="notes"
url="ws://localhost:1234"
room="my-document"
required
disabled
value="Initial value"
></yjs-text-input>
</form>
url
(required): WebSocket URL for YJS collaborationroom
(required): Room name for YJS documentname
: Form field namevalue
: Initial valuerequired
: Whether the field is requireddisabled
: Whether the field is disabledchange
: Fired when the value changes (either locally or from remote updates)The component implements the Form-Associated Custom Elements specification, which means it:
npm install
npm run build
npm run watch
FAQs
A web component that provides a TypeScript editor with autocomplete, type checking, and syntax highlighting. Optionally supports real-time collaboration using Yjs.
The npm package @cxai/ide receives a total of 14 weekly downloads. As such, @cxai/ide popularity was classified as not popular.
We found that @cxai/ide demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.