z-container:用于保存和检索数据对象引用等的容器

时间:2021-05-31 00:18:15
【文件属性】:
文件名称:z-container:用于保存和检索数据对象引用等的容器
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-31 00:18:15
JavaScript z-容器 这是一个容器解决方案,用于保存和稍后检索对象引用和其他数据。 因为它是一个 CommonJS 模块,所以它必须与或类似的东西一起使用,比如 。 例子、说明 var container = require ( 'z-container' ) ; container . add ( 'some_object_reference' , object_reference ) ; container . has ( 'some_object_reference' ) ; // -> true, only if the key really exists in the container // Returns the previously saved reference. // This is useful, when CommonJS modules compiled to the
【文件预览】:
z-container-master
----.travis.yml(61B)
----LICENSE(1KB)
----test()
--------container_test.js(1KB)
--------fixtures()
----README.md(1KB)
----container.js(366B)
----.gitignore(37B)
----package.json(613B)

网友评论