global-value
Installation:
npm install global-value
Usage
const gv = require('global-value');
gv.set('image', {
src: 'xxx',
time: 'xxx',
});
gv.get('image.src');
app
Installation:
npm install global-value
const gv = require('global-value');
gv.set('image', {
src: 'xxx',
time: 'xxx',
});
gv.get('image.src');
Modernization updates thanks to @TimothyGu:
let
with var
in lib/btoa.js
1.0.2
const
with var
in index.js
abab
in the browser without a transpilation step