ts-mind
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

ts-mind[Bata 版]

TSMind 是一款使用 typescript编写的脑图库,灵感来自 jsmind 脑图库。

依赖与支持

TSMind 没有任何第三方依赖,包体积更小;

安装与使用

$ npm i ts-mind
import { TSMind } from "ts-mind";
import "ts-mind/dist/style.css";
 
const tsm = new TSMind({
  container: "#container" // or Node
  ...otherOpts
})

接口

接口暂时与 jsmind 保持一致,后续将进行调整,并出具相应的接口文档。

优点 [相比jsmind和其他脑图库]

  • 性能更优
  • 可扩展性更高
  • 基于es6+接口设计,接口调用更清晰
  • 基于Typescript的接口定义,使得开发效率大大提升

开源协议

MIT

Copyright © 2019-present, JasonDRZ

Package Sidebar

Install

npm i ts-mind

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

948 kB

Total Files

86

Last publish

Collaborators

  • lworkfee