@arkie-ai/svg-snapshot
A simple tool to render svg snapshot using puppeteer
Last updated 9 months ago by aihornmac .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @arkie-ai/svg-snapshot 
SYNC missed versions from official npm registry.

ARKIE Node Svg Snapshot

中文 | English

安装

npm i @arkie-ai/svg-snapshot
yarn add @arkie-ai/svg-snapshot

快速上手

import { render } from '@arkie-ai/svg-snapshot'

run()

async function run() {
  const { buffer, errors } = await render(svg, width, height)
  errors.forEach(console.error)
  console.log(buffer)
}

Current Tags

  • 0.0.1                                ...           latest (9 months ago)

1 Versions

  • 0.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |