![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@unovis/vue
Advanced tools
Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
🟨 Unovis is a modular data visualization framework for React, Angular, Svelte, Vue and vanilla TypeScript or JavaScript.
@unovis/vue
provides Vue components for @unovis/ts
, which makes Unovis integration into a Vue
app much easier.
Learn more about Unovis on our website unovis.dev
npm install -P @unovis/ts @unovis/vue
<script setup lang="ts">
import { VisXYContainer, VisLine, VisAxis } from '@unovis/vue'
import { ref } from 'vue'
type DataRecord = { x: number; y: number }
const data = ref<DataRecord>([
{ x: 0, y: 0 },
{ x: 1, y: 2 },
{ x: 2, y: 1 },
])
const x = (d: DataRecord) => d.x
const y = (d: DataRecord) => d.y
</script>
<VisXYContainer :height="600">
<VisLine :data="data" :x="x" :y="y"/>
<VisAxis type="x"/>
<VisAxis type="y"/>
</VisXYContainer>
<script>
import { VisXYContainer, VisLine, VisAxis } from '@unovis/vue'
import { ref } from 'vue'
export let data = ref([
{ x: 0, y: 0 },
{ x: 1, y: 2 },
{ x: 2, y: 1 },
])
const x = d => d.x
const y = d => d.y
</script>
<VisXYContainer :height="600">
<VisLine :data="data" :x="x" :y="y"/>
<VisAxis type="x"/>
<VisAxis type="y"/>
</VisXYContainer>
Apache-2.0
FAQs
Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
We found that @unovis/vue 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.