0.1.1 • Published 9 days ago

excali-tool v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 days ago

Excali Tool

Node.js CI NPM version

Some excalidraw function runs on Node.js. (Server Side)

Install

https://www.npmjs.com/package/excali-tool

npm i excali-tool

Usage

convertToExcalidrawElements

import { ExcalidrawElementSkeleton } from 'excali-tool/dist/data/transform'
import { convertToExcalidrawElements } from 'excali-tool'

const rawData: Array<ExcalidrawElementSkeleton> = [
    {
        type: 'text',
        x: 100,
        y: 100,
        text: 'Hello world',
        customData: {
            createdBy: 'user1'
        }
    }
]
const convertedElements = convertToExcalidrawElements(rawData)
console.log(convertedElements)
0.1.1

9 days ago

0.1.0

11 days ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago