node-treeview:节点的异步文件系统树视图

时间:2024-05-29 07:32:23
【文件属性】:

文件名称:node-treeview:节点的异步文件系统树视图

文件大小:56KB

文件格式:ZIP

更新时间:2024-05-29 07:32:23

json tree node typescript terminal

节点树视图 节点的异步文件系统树视图。 Javascript(快速启动) 用法 const { TreeView } = require ( 'node-treeview' ) ; // Using callback new TreeView ( options ) . process ( path , ( error , tree ) => { if ( tree ) { // do some stuff... } else { // handle error... } } ) ; // Using Promise new TreeView ( options ) . process ( path ) . then ( tree => { // do some stuff... } ) . catch ( error => { // handle er


【文件预览】:
node-treeview-master
----.gitattributes(17B)
----src()
--------index.ts(13KB)
--------helper()
--------model.ts(3KB)
--------bin()
--------watch.ts(2KB)
----spec()
--------helper.spec.ts(4KB)
--------matchers()
--------cli.spec.ts(4KB)
--------helpers()
--------refresh-result.spec.ts(10KB)
--------require.spec.ts(1KB)
--------fixture()
--------e2e.spec.ts(5KB)
--------mock()
--------index.spec.ts(21KB)
--------support()
----.travis.yml(96B)
----tsconfig.json(5KB)
----LICENSE(1KB)
----tslint.json(749B)
----README.md(11KB)
----.gitignore(50B)
----package-lock.json(98KB)
----package.json(2KB)

网友评论