
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@docus/editor-edge
Advanced tools
Custom Milkdown editor with the power of MDC syntax.
💡 This package depends on many @milkdown dependencies.
@docus/editor dependency to your project:# Using Yarn
yarn add @docus/editor
# Using NPM
npm install @docus/editor
# Using PNPM
pnpm install @docus/editor
@docus/editor to the buildModules section of your nuxt.config.js{
buildModules: ['@docus/editor']
}
The module auto imports a DocusEditor component you can use in your project:
<template>
<div>
<DocusEditor v-model="content" :components="components" />
</div>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue'
import type { ComponentDefinition } from '@docus/editor'
export default defineComponent({
setup () {
const content = ref('')
const components: ComponentDefinition[] = [
{
name: 'MyComponent',
props: [
{
name: 'value',
type: ['string'],
default: "'foo'"
}
],
slots: []
}
]
return {
content,
components
}
}
})
</script>
DocusEditor props| Name | Type | Description |
|---|---|---|
| value | string | Markdown content |
| components | ComponentDefinition[] | List of component definitions used for / commands |
pnpm installpnpm devFAQs
Docus Editor
The npm package @docus/editor-edge receives a total of 0 weekly downloads. As such, @docus/editor-edge popularity was classified as not popular.
We found that @docus/editor-edge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.