文件名称:object-cursor-stream:去重关键路径流
文件大小:4KB
文件格式:ZIP
更新时间:2024-06-25 18:59:55
JavaScript
对象游标流 去重关键路径流 例子 var cursorStream = require ( 'object-cursor-stream' ) var cursor = cursorStream ( 'pokemon.name' ) cursor . write ( { pokemon : { type : 'chansey' , name : 'Dr. Chansey' } } ) // 'Dr. Chansey' cursor . write ( { pokemon : { type : 'pikachu' , name : 'Dr. Chansey' } } ) // *nothing emitted* cursor . write ( { pokemon : { type : 'pikachu' , name : 'Prof. Oak' } } ) // 'Prof. Oak' c
【文件预览】:
object-cursor-stream-master
----CONTRIBUTING.md(1KB)
----.travis.yml(101B)
----LICENSE(570B)
----test()
--------index.js(1KB)
----README.md(1KB)
----.gitignore(21B)
----index.js(329B)
----package.json(650B)