{"_id":"ldclient-js","_rev":"94-e4e70163c80fdb78aacfede9bced73f2","name":"ldclient-js","description":"LaunchDarkly SDK for JavaScript","dist-tags":{"latest":"2.10.2"},"versions":{"1.0.2":{"name":"ldclient-js","version":"1.0.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"67581ad210bf9aca3e0c8e689f41262ab1b3db18","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.2","_shasum":"9ffca88d107a9c8804339ce61ff841022e68f3e9","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"9ffca88d107a9c8804339ce61ff841022e68f3e9","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.2.tgz","integrity":"sha512-WpJqUifyaw8hdAl9n6LqOVonuG3/BR8ERSTbCuXudF1IesBnXxNKxOuK4wClu1F0OILu8HFnaRiuyzt3RpNQUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDObHvYwF4WOTwYuTWuoJObZ2orc0y5y1WtZRwB80IWNgIhAJDR0LU2ocD3OwNmqeAM1frjBynCSkZQ834pFK1qhN4Z"}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.2.tgz_1470780366096_0.1507857725955546"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.3":{"name":"ldclient-js","version":"1.0.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"a2ce5f64521c2de0dd0aa3ebecc2de60ff04d819","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.3","_shasum":"6a741f48fc0ee32ece23bed6da88177a2ed59900","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"6a741f48fc0ee32ece23bed6da88177a2ed59900","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.3.tgz","integrity":"sha512-NrSJ9NvLtJazbA1K48JB71U8sfg3N73fBH6vrt2UK/eRoy8B5rkrUwmQ+5bmyZ6kgGxNvXKHVfAQsA6ZEJUXOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtwLXaEl68+KHzORD7MBH5pIHEEJNUVDycFfKujRBioAiEA6JvCV7rhZjIl30//srG4aAt+ivi/WfI1Hbi8tF6ML9I="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.3.tgz_1470856821342_0.17604638705961406"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.4":{"name":"ldclient-js","version":"1.0.4","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"d056e569d22a21ddba8a69852c72d2fbb63be37b","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.4","_shasum":"834607e44836e015a1e68b92b671718b9ad0f586","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"834607e44836e015a1e68b92b671718b9ad0f586","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.4.tgz","integrity":"sha512-7uMdKf/bkJVZcd7Imh/4UyMuQxEgpkzADdR79a3YKdkXMnhHILqgx2xpZajyfyJG7brzxx9ibhq5fekKjz1Gvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEIWgVtaqWTx+Rt83OJkpSrcnNA/Ppo2fY28IdSMz86AiBk8cFBIpgKdUVnQpRJ96xLHu3QBljYDNrLzWAu4fK+eA=="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.4.tgz_1471023812533_0.3303502146154642"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.5":{"name":"ldclient-js","version":"1.0.5","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"5b137d85f03d3488eb0d796aaf7d0f4a59f15ab6","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.5","_shasum":"aae19f1fe71262ec52a2eb69b41d9060522ae2ce","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"aae19f1fe71262ec52a2eb69b41d9060522ae2ce","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.5.tgz","integrity":"sha512-84bb4GGhxWlv0gJhmHA5W5ApRmlPj18NCds1oOf1CXFwlcAGV6VkW7JLJ6lA/JCixzKKxYPQkxrn2kafyMr3ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoft3TNUKwk9x+brIjHMIpBJm5863v2xj77bqp4rfhpAiA/Z9M2tb0/+VBSguSm2s+VogbKsy7R97J2f69L9+9MZQ=="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.5.tgz_1471907335807_0.2713287703227252"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.6":{"name":"ldclient-js","version":"1.0.6","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"c7966dc4564d6ca21ded1e9547adb068526c05fe","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.6","_shasum":"71c2ca781815d24bd444630c5365ae44049a73cb","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"71c2ca781815d24bd444630c5365ae44049a73cb","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.6.tgz","integrity":"sha512-CsdVmyHt1+zAgOSDHO/MgD937zdkxgyI4EQi36OmlAF5cP9VMY25YZxP5mGmrCRydnunJcR0fdHhtrlTUn1/4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0JVTZUpVLlB9jdgU8SuZpJbOje84Bqu6/vFvP0RRR8gIgCprAaZNCJ3Wvq7KHgI9LqZCg1VABLq37X+S3cTLWtAk="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.6.tgz_1472236810711_0.7418526152614504"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.7":{"name":"ldclient-js","version":"1.0.7","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","karma":"0.13.22","karma-chai":"0.1.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-chrome-launcher":"1.0.1","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","karma-sinon":"1.0.5","mocha":"2.5.3","phantomjs":"1.9.18","sinon":"1.17.4","webpack":"1.13.1","gzip-size":"3.0.0","in-publish":"2.0.0","pretty-bytes":"3.0.1","readline-sync":"1.4.4"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"c0b0b332796e066b378e8e52c0e8641d56eedc06","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.7","_shasum":"fb7d119eb5b9b9cafe92a8662eeda408dc1ff55a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"fb7d119eb5b9b9cafe92a8662eeda408dc1ff55a","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.7.tgz","integrity":"sha512-ZBMWLoYv5diTfj+obZyg+7fhuXssdptmS9JbN9JxixfpJDb/R5vf3reX6XZaD9SmxbR+MdIDLPlnxnli6jETCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIsNSn+/E1HE5bVA7syIZO0bjPE8scQttyJ2VMURHOsgIgB8Bq5RVAe5HprAAK+w7+B9DKc+lqclUhUajfPpgg82Y="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.7.tgz_1473205608473_0.7425845395773649"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.0.8":{"name":"ldclient-js","version":"1.0.8","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"4f34e55298fa400e55c10f906a7c786b7056ce8d","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.0.8","_shasum":"b507a6fe9fd8e2d19601a991a62a62cd08b6599b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"b507a6fe9fd8e2d19601a991a62a62cd08b6599b","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.0.8.tgz","integrity":"sha512-389sEZR2MwZq6sU6thM3hpTaXet0Zr/3MjhtGMFaH8it0qWRW8p/H6k1tAqGiCBvD89JqoAlk+/9piLrqyZWvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQaIpqzsvuoQWkeqr19fxf+MvzpBOTEOz0AY2OgMqG9AiA4qseVa6tZjGC4bY5Wq9VM9/WEHDQrxd/ai2vsd35yyg=="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.0.8.tgz_1473436313268_0.14805920352227986"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.0":{"name":"ldclient-js","version":"1.1.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"17b21b18b04ed7f0bf47c187f3c2739465534112","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.0","_shasum":"ad0dfc944fa757daaf9ba352df0d566acae07653","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"ad0dfc944fa757daaf9ba352df0d566acae07653","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.0.tgz","integrity":"sha512-Cbpil9oh/+NmC+hvAZUSiFxfNkqkkZ969Fq/0ucV3O9ttrUJ6ofMqfls/UJtHCsJ3eEEKKJNt6qphfZ1jReIkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWZJ5eoYD4CCtDfBqD1XH3eGKGhaQ1hGb14SoBdM3RdgIhAJMlG6D7B3b06uFqTIckW8LmDs8RxyH6yXdTZCLV0eBy"}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.0.tgz_1473877090210_0.028644656529650092"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.1":{"name":"ldclient-js","version":"1.1.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"d4d30d0e33867b7ee9256d2da216d5edc09a9c29","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.1","_shasum":"b73119c0b0102fd0a0003c92ccd1a5198e7997b5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"b73119c0b0102fd0a0003c92ccd1a5198e7997b5","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.1.tgz","integrity":"sha512-lrtCZzD/P78gP2nNbCwVjyD7wsHHMDXvhlyUaprK4ysLMOP0l8ApfV4GuQbwLN8NCQLRRPH3Kk56wp/7NHa9lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDomU8Bgm4SJmES/lo9C1aNZ9QrgpC49cftbFpHxS1AQgIgJqJAvT7xQa9nHSbViVwqdfWJGu/s40D6aWHrrwu8m24="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.1.tgz_1474417125840_0.5979173118248582"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.2":{"name":"ldclient-js","version":"1.1.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"972ee1d484c3be57fd0e51a51360a53bfd9b6ee9","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.2","_shasum":"29fc353c3856bc2582195581fa66fdccce9ba1ca","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"29fc353c3856bc2582195581fa66fdccce9ba1ca","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.2.tgz","integrity":"sha512-Tcrwnlc/n7fC+pPFSc1pxy3ka3LsG0H/jO6IG8QegnY5qkQiRmxJ/r8D7T05pD9rASfQg+oX+jyTwIi4InbLmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJjD9atfOM9wfdMVcwlWWaNLUnR3XhNMST77NKSTWgNAiEAp8cvmLwA+W/QZFWEhrDTUQPV5VLV4mhjVFpovZj98nM="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.2.tgz_1474482327780_0.017074563540518284"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.3":{"name":"ldclient-js","version":"1.1.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"7f36b4a92c8b16cd892f6b5c04e51370ea1e6387","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.3","_shasum":"a729e39499ddd1572865640ec536ba724b2db0e5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"a729e39499ddd1572865640ec536ba724b2db0e5","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.3.tgz","integrity":"sha512-5abY7MXNYmGqamluGwEgLTr1CxBbUQafXr4kwqJXse8V1KpJj1KtWGsHBwMRgnYGeEKZJy6zs7h4jALhNjrKvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8y0r4U1HBxR+4nAaNhzKGRM0PYZ5z+qdtFddnic7c9wIhAIGDDEt/v0ienrw+Y0V3lv/q3l5O/8TVCHTwNDVTcisp"}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.3.tgz_1476489242085_0.5162973767146468"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.4":{"name":"ldclient-js","version":"1.1.4","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"4973a3ff43a414e682e4026726f39b0e36311c6a","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.4","_shasum":"46644036477200da4cf90e3637cc135b6b24cd19","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"46644036477200da4cf90e3637cc135b6b24cd19","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.4.tgz","integrity":"sha512-SL4770mI8nR5bb4GErusxjdlR/91jUEUEB2VY5VI5MDy/mUl/GIDviS6m21Qufzaz/CoHRTxjyC4pPJIDKRMFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXbgzwAagh47PYSnD+teO07OICQqF5Zd2oofez9H8bSgIhAOfb2wz9lcppTmVcihj4C7QqgqL7D29f8dnIh2Cp//gi"}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.4.tgz_1477491843306_0.9467879694420844"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.5":{"name":"ldclient-js","version":"1.1.5","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5","sizzle":"2.3.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"e2c9a19e7699393a3704decbc08297cb7c660eee","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.5","_shasum":"7d82e4da71cf2d227c6879d46967ac4036be9257","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"7d82e4da71cf2d227c6879d46967ac4036be9257","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.5.tgz","integrity":"sha512-aA5H5sCGeo6Y7qLSo/X5f/52m++yJwd3V+bjEUYQM4jb6xdOcfoTkINrFOkuI7ldErfleA9sG2LUrHaPfuRtNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxruXxkzsEDbc8/wIwHJBLQxqxcNx07Jb3FI/WtWu9SgIgW8MNu8SfmF86xO53nUgg/FEng5bm7yPRejaZgfY0OFU="}]},"maintainers":[{"name":"launchdarkly","email":"dev@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.5.tgz_1481147849230_0.678554333280772"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.6":{"name":"ldclient-js","version":"1.1.6","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"03578ba8e7736d0b897edb556a9265480101c816","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.6","_shasum":"bb405faec35c2a010ca011b243a4fb035da7abbf","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"apucacao","email":"alexis.georges@gmail.com"},"dist":{"shasum":"bb405faec35c2a010ca011b243a4fb035da7abbf","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.6.tgz","integrity":"sha512-70LkHtAihLhA7gC54vrisj46uyX8JvSPtWV604kfbQ9hJiy7hlIwNX5hZFcs9GiV6EtYZiQ1ubvnJGd3r1Jzzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe0Wdm+XoqFv+xTRWsaYBuTi2vtmvsY/QPwY8S5EWX2gIhAKYl4psL+HLe8m+iGXBQEEosdfS5Ig1cv772AZYql8n1"}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.6.tgz_1484579271302_0.4463661022018641"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.7":{"name":"ldclient-js","version":"1.1.7","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"ff06599d0c8161ea0bc4cc8e8423a65305b23a64","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.7","_shasum":"650dbbb46069d5405e236211cdd263319f78ace7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"650dbbb46069d5405e236211cdd263319f78ace7","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.7.tgz","integrity":"sha512-dEufkoJd0pROGslVtCzqbZ3UGZ/MmysMPqmAmQ+0mJaLXXQijlHO/tnEuXS0cHykYxryac/huIKBn1g5ezv0/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNrJYZDIoGZaNZ2RNiufHmD5PefMr2fClHGYGYLoHpAAiEAxJ9rwQcMkge0AXGb9mryJnD6t754qmly/rgaijo+a5M="}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.7.tgz_1485544237736_0.16977460565976799"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.8":{"name":"ldclient-js","version":"1.1.8","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"64d8691202066cb970cf2e8369db1d5ed9b28b7d","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.8","_shasum":"2aa21d1836615305f7dc328b6d9b0739c3254ebc","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"2aa21d1836615305f7dc328b6d9b0739c3254ebc","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.8.tgz","integrity":"sha512-PKF8UGUge9wHUZ+Gleupg5sBoekTmpSd1gJDQAzd1VvRTL0DppOusaXt30wwRCmHtnZmibzB/utj+7WPDHfu6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlnmKgkLUxd+yq4SSfzxKcivEv4qAvV7/uHLncKHQHpAiEA4ZnkbEe9hRA8MWC8sAh92TP/GHAyynnbB1M4x66jw1g="}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.8.tgz_1486046247393_0.5291811318602413"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.9":{"name":"ldclient-js","version":"1.1.9","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"052984ac39562e4a2853ad288463ff8cc6096e68","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.9","_shasum":"0d17d7cce93f609018548049e8c07cc30162f1fc","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.2","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"0d17d7cce93f609018548049e8c07cc30162f1fc","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.9.tgz","integrity":"sha512-SVHm3Yc2rSYaVVEDTkcr5i15q2bhlhJXPSax7v0qJP8fzRio1/hV9MK8DWy3BxnLzeHkBFamt5R/J7rZjl8wgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYzE+d/9z4+2sra22obk/6NJXK/8Wtmzn2za8T/TE62AiEAvikKqJnB92r5MzJXq4suLwtaIJJ7fiGrI+WFvEmTaLw="}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.9.tgz_1491588420314_0.6380479342769831"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.10":{"name":"ldclient-js","version":"1.1.10","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"4dbef78b1d8af99956e368834eaff4213b7932c4","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.10","_shasum":"1b6f25fa3b5026c746a436098f1a5398b40002dc","_from":".","_npmVersion":"4.1.2","_nodeVersion":"6.9.5","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"1b6f25fa3b5026c746a436098f1a5398b40002dc","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.10.tgz","integrity":"sha512-kcEPDwPi0Fhl3cUJprf3fDzSO1cvWPS7IY83LGwV0e2kwNe9In2F1IbHA8Y3aVBd3L76EghkE2rXneGtpMKkYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv7RxhMsDrPyS2iB8B3UN/732/OFKGPyr19iT+73nymgIgTEzCmq6ofBN2iChSjfWBqQgxWwkT8P7Dg1D9yuEAcBY="}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.10.tgz_1493926431168_0.12358953920193017"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.11":{"name":"ldclient-js","version":"1.1.11","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"2c271333a33998a2df8dc21ebdb05b761a6bd2bc","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.11","_shasum":"f13a152ed2b16cfd5c7c1b60e946247bdf9041c9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"shasum":"f13a152ed2b16cfd5c7c1b60e946247bdf9041c9","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.11.tgz","integrity":"sha512-zRJAWfnL+dxZeD4aAyEv0wAk87IH+ST/Dlb1uDpdR57UEvIU5D1uIkEd6ZvQxYcpi2wYZcs3XHad6h8p7/tn1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwe39DPEsHPPb9PbfddNRdIStSu3SNOAFaKED4kkgwgAiEA7eaPzxZdEfjixvqBrQUEszgFlReLkOP1CbLtg/Uq6pY="}]},"maintainers":[{"name":"apucacao","email":"alexis.georges@gmail.com"},{"name":"jkodumal","email":"john@launchdarkly.com"},{"name":"launchdarkly","email":"dev@launchdarkly.com"},{"name":"maleko","email":"maleko@launchdarkly.com"},{"name":"pkaeding","email":"pkaeding@launchdarkly.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ldclient-js-1.1.11.tgz_1494956788811_0.6128072566352785"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.12":{"name":"ldclient-js","version":"1.1.12","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"39495f9851b83ed743f5b590639f683079e60ba0","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.12","_npmVersion":"5.0.2","_nodeVersion":"8.0.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-QIOyVxQCV8Ao+Epk2sVDZzDWxwvRoaV1aCIxPEArGF5i3Fkbcjk14V6BJ2wLAJCl9xQUy0VqDWbS5qxY06iWIA==","shasum":"06ea0dc2326bd84116f0c6674ccd8ff7a83e7d8d","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyEGLubn9vDT9llsTvPTq4CkTU36PkOGhFDFsG0z0cpAiEAjv6E3yzu+wOWA8wZPcQ5VBiDfbizxDOjxrhze3efi8U="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.1.12.tgz_1497034755612_0.04994937055744231"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.1.13":{"name":"ldclient-js","version":"1.1.13","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"d0ae8d15321e3f272659987b0b33356d0aa78126","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.1.13","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-18+05EgxgiVxkDr/k2RxGXhyv5sG9EScQyMPSLuDiukNCnKnce/ERbgj6le4C1z2C4/zecdoPY3ZRCQVKsTLkQ==","shasum":"8e316741c3bde74618d037ef7bcafd46a3f1b8a6","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.1.13.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcvQBPvnD9mvQCQbK3HAkeoUxQnGyH5CO4fvWuWahtwgIgCO6oUIvFVVJzm8EeR+9PvaQaOxtIkOIyiMChjYnx/TI="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.1.13.tgz_1513082869562_0.12002876680344343"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.2.0-beta":{"name":"ldclient-js","version":"1.2.0-beta","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/@ldclient.es.js","browser":"dist/@ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","build":"cross-env npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:cjs","build:watch":"cross-env npm run build:es -- -w","build:umd":"cross-env NODE_ENV=development rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.js","build:umd:min":"cross-env NODE_ENV=production rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.min.js","build:es":"cross-env NODE_ENV=development rollup -c rollup.config.js -f es -i src/index.js -o dist/ldclient.es.js","build:cjs":"cross-env NODE_ENV=development rollup -c rollup.config.js -f cjs -i src/index.js -o dist/ldclient.cjs.js","test":"karma start --log-level debug","test:watch":"karma start --auto-watch --reporters=dots"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"6.24.1","babel-preset-stage-0":"^6.24.1","chai":"4.1.2","cross-env":"^5.1.1","karma":"1.7.1","karma-chai":"0.1.0","karma-chrome-launcher":"2.2.0","karma-firefox-launcher":"1.0.1","karma-mocha":"1.3.0","karma-mocha-reporter":"2.2.5","karma-phantomjs-launcher":"1.0.4","karma-rollup-preprocessor":"5.0.2","karma-phantomjs-shim":"1.5.0","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","mocha":"4.0.1","phantomjs":"2.1.7","prettier":"^1.8.2","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","rimraf":"^2.6.2","rollup":"^0.51.5","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-globals":"^1.1.0","rollup-plugin-commonjs":"8.2.3","rollup-plugin-filesize":"^1.4.2","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^2.0.1","rollup-watch":"^4.3.1","eslint":"^4.11.0","eslint-config-prettier":"^2.7.0","eslint-config-xo":"^0.19.0","eslint-formatter-pretty":"^1.3.0","eslint-plugin-prettier":"^2.3.1","eslint-plugin-mocha":"^4.11.0 "},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"1c32ebbcf2809955958b0f2afa0e53b64716bc52","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.2.0-beta","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-40KrJWOBquX3ndsEiAsJkFOgeE8VXjKjRSXxJZpUHPfU/mAC1SSm5R81+j0tP2/Yi+l+HBRpLpYkUwmoFWbRxg==","shasum":"3c00a506304c4d9a63040231a7e27b70b025162b","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.2.0-beta.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd+LUj2QtCBC9IWNTK9QZ9GPM9pYUaYGOVrW4PfkKH3gIhANCt3Hn3bxM7+QyNSRVfWwrCi76kUi3rNkZFBQKcwClD"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.2.0-beta.tgz_1513183151356_0.416289679473266"},"directories":{}},"1.2.0":{"name":"ldclient-js","version":"1.2.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"393ce2753440a56dcbda8752fbd96c84e47228e2","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-a/yUjApD22XlEFJk3/Db8/+Wa2LjQllloR2oR3D3l1GPKwNWb8HkfnMFKysUb1muIHc3rTbd/PQQHbMhoymDfg==","shasum":"c9e97ee9489842729df2530e4f34c96313bf5b3b","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGWpewjpKE66mQXa/YQ+ZGBxGp5mP0ZFRlH02tatIfTwIgI9VrQGIyw2inYDG47E6DV/C5AkKDWv8uKf4AkUbYl2c="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.2.0.tgz_1513347774567_0.6202545904088765"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.3.0":{"name":"ldclient-js","version":"1.3.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"927baad628bb567b6c0122174b46ca3258b17b01","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-TLwCcBeS3St1cT6j8J9r2zP6XMpH7lfyEdrS7YID/4aX4F7RJH6bauw5l3sHaQmCz2DkQWvtXlkQrNc/ZPS84w==","shasum":"9390125d06b601ab72f28372f345c8e14c082fcb","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZZIOwKj9zaLb7xcrE2fJLwJRMBxPdUw6BaFAW+jbKYAiA5ZWi3VlJwQzhE6hrcTGa9ToD0XTefTNTgmo+JiAAU+g=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.3.0.tgz_1516652519638_0.9418718651868403"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.3.1":{"name":"ldclient-js","version":"1.3.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"3469391d193c2875eb69cc2dcd09b5d219767583","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-7mf2F34A11zjiZTEgzDzGrN5eU5DuGADVzPMCUvJUiLxdD+Q38ueQD4n87jcevtN3juZ+5E944p4w8BDo4PTww==","shasum":"f644a21ca11ad457a58a65f9f53d1120da49c0c5","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICz46uw1pR20TjTb1ZQe3xAB/1ojjnKDehS+Hy7cTNlKAiBZPCHaenbQTaBEnaYHNUMW6atvRwkiR0unMn0co7qBMg=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"},{"email":"dev@launchdarkly.com","name":"launchdarkly"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js-1.3.1.tgz_1516734488056_0.4920312468893826"},"directories":{},"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.4.0":{"name":"ldclient-js","version":"1.4.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"2a2506389613575cf667cf001316a4bc875ee514","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-msgSObxHJRc4UkEqZnQpzkM/0D1jV6l4qLEIo6x3Y7A5nnn+l9W4tIf7lB2ZuCtOrjryZFUWy2aVWc2nJ3j3mA==","shasum":"69c4e73aba7b10232a39cd365599c8a7caff8f9c","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.4.0.tgz","fileCount":33,"unpackedSize":349983,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp5QZN2kIxcjC96oo6mPHcwEhNRa8ehFw2MWtTVvOtOgIhAIpWFeXO5S/a9+dPpQQ47Dk/KR1wse/E6uE0h3OiX8X9"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.4.0_1518037126215_0.37218073316543343"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.4.0-beta":{"name":"ldclient-js","version":"1.4.0-beta","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/@ldclient.es.js","browser":"dist/@ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:cjs","build:watch":"cross-env npm run build:es -- -w","build:umd":"cross-env NODE_ENV=development rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.js","build:umd:min":"cross-env NODE_ENV=production rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.min.js","build:es":"cross-env NODE_ENV=development rollup -c rollup.config.js -f es -i src/index.js -o dist/ldclient.es.js","build:cjs":"cross-env NODE_ENV=development rollup -c rollup.config.js -f cjs -i src/index.js -o dist/ldclient.cjs.js","test":"jest"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-plugin-external-helpers":"6.22.0","babel-polyfill":"6.26.0","babel-preset-react":"6.24.1","babel-preset-stage-0":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"28af713d12e2253b9dbf59ec0eb5e7d6be1498cf","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.4.0-beta","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-jkFuzrte02mLhVse5mgMpnMtNNUuGBxZ14GibVPl29/XXLwTPWQpOIa4q0MC9Z3wtaO1nFHKLV9YmnGamQMxsg==","shasum":"d333c31f3746d15ed558099ac0c70c8e00042d2e","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.4.0-beta.tgz","fileCount":35,"unpackedSize":203630,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzcETlvx1alEkmDSMy5OKx6QLgJmeRUUUqM5OAwePIEgIgapfRhz9XzqjkItUYSOhYgWRVv/OIg1Ts0+Paa3JE74Y="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.4.0-beta_1518127782012_0.2011055805133537"},"_hasShrinkwrap":false},"1.4.0-beta.1":{"name":"ldclient-js","version":"1.4.0-beta.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","browser":"dist/ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:cjs","build:watch":"cross-env npm run build:es -- -w","build:umd":"cross-env NODE_ENV=development rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.js","build:umd:min":"cross-env NODE_ENV=production rollup -c rollup.config.js -f umd -i src/index.js -o dist/ldclient.umd.min.js","build:es":"cross-env NODE_ENV=development rollup -c rollup.config.js -f es -i src/index.js -o dist/ldclient.es.js","build:cjs":"cross-env NODE_ENV=development rollup -c rollup.config.js -f cjs -i src/index.js -o dist/ldclient.cjs.js","test":"jest"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-plugin-external-helpers":"6.22.0","babel-polyfill":"6.26.0","babel-preset-react":"6.24.1","babel-preset-stage-0":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"7369f976dc7672f3037db6e01ba6888bf0c1924d","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.4.0-beta.1","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-wP+pGVhkARus9XGphbGSrbVKEQwBHKLfls4TJ4tq65omgG/cpDEw+20ZuWLgA8+D8UDazqlBaFhq/+qTxapDrg==","shasum":"bf5c2674b6d6bf591c42b187a357a644426cc0e4","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.4.0-beta.1.tgz","fileCount":35,"unpackedSize":203630,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQ+C1IiDBV1rN8oXFEC2VkRxfbvUcrDZvLuO37R9SkZAiEA01VYmHoAZw4NIyrDXxNhlksZaTx81R1yxeVPlFFeKBk="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.4.0-beta.1_1519315066749_0.8217057782668409"},"_hasShrinkwrap":false},"1.5.0":{"name":"ldclient-js","version":"1.5.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"4fd7e8061fc963be60f034ae044866aee3eebe03","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-pR97kvM4r9aqwAysijQho/fwNeGWuIvPxa9sf3itVAD78pNro8J52tm42s6gS+Ao+LgNW3stgK5as0A39rulmg==","shasum":"5804b04854d70993a40fb237169e3d1c408e3597","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.0.tgz","fileCount":24,"unpackedSize":122662,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICK16rxo9Yl+wiMM/hMP5YJ6C7YJAhG5u9Cp01ZrHWt5AiEAzrdhg6mqfG1fU+MfC0hdSMxERFYc93hkiNd/Jczslw0="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.0_1520285081399_0.42407132835018624"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.5.1":{"name":"ldclient-js","version":"1.5.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"87780ff083d89721f51a9f387c8768e3733eb862","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-5mTa3z6zrlmA8PemJyhFIDoaAJHr8tpoQztrRqAmDi3vytZM6iycGmHKjoCkeczfA7/HjeFRLStNKDL6cDcAAw==","shasum":"3ceae91e3dd852d190c997af3d6f78f0fb935bbb","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.1.tgz","fileCount":24,"unpackedSize":122835,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7Vbcb4tQ4Yx8l2b+Ex0kpJ5IYf0ud6rNP4H9YUJhAkAiEAypU3MhB2Mn/CGTwcAXJO2OoTTF71ChaoalRNjgKPUw8="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.1_1520448311171_0.6328314029681719"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.5.1-beta.1":{"name":"ldclient-js","version":"1.5.1-beta.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","browser":"dist/ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"jest"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-plugin-external-helpers":"6.22.0","babel-polyfill":"6.26.0","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"2be7fe945b44dad3d326a9e0887f1e009712ef44","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.1-beta.1","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-+Bphwz8aZdCANG6zo47h3SUfum5uxfNtpB/Na/6gsJSHyian8W1iTStQ7qoV8IJVxhQbsXGh4CZI9V9liQ086A==","shasum":"8d6be014717a8869cb66ed4455ba6d6bd0b27da1","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.1-beta.1.tgz","fileCount":33,"unpackedSize":258232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtrSNV89FrKpN48kvwGmpi5J+LAchl8ZoSlfpGevMk1AiEA9Wo+QkYIkOdR2y6lAfm6+QMSuR/HcH7Y1EeWDZUDnAM="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.1-beta.1_1521063634011_0.4914253533369357"},"_hasShrinkwrap":false},"1.5.1-beta.2":{"name":"ldclient-js","version":"1.5.1-beta.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","browser":"dist/ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"jest"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-plugin-external-helpers":"6.22.0","babel-polyfill":"6.26.0","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"00707047c9f3e599e9b11b5ae52b06ffc04bc107","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.1-beta.2","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-lcoGFV8wa9NIXLCj0Sjy4lsp4BAPpltHxVJowOSIkjlLuroIVp9WXpgm54iytolLps44vnqoStuPv3n8ZywPIQ==","shasum":"6882297d2895d27231fa78d4f4098537e8556602","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.1-beta.2.tgz","fileCount":33,"unpackedSize":338936,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQEzq9HGEP4Rgk6jc8I9S3T7PXjxr9ORLSQk3Aq3/HRAIhALVLfuv1NV3B/cNN8vqOLL7skx271Av2cxJCzsH/q0pK"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.1-beta.2_1521118455415_0.39994958166764194"},"_hasShrinkwrap":false},"1.5.1-beta.3":{"name":"ldclient-js","version":"1.5.1-beta.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","browser":"dist/ldclient.umd.js","scripts":{"preversion":"npm run build","prebuild":"rimraf dist/**","lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"jest"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-polyfill":"6.26.0","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"d50265baa54e6e6cf23929314b9f6efd19c7723d","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.1-beta.3","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-/Xurm6yC5KO3LJPbBfsQKvtRpDWjyJyRpq1PC5cy3uO90/zWjbL+Rn3aZ0PXkArXZyzg3Mp56P1yZxiaf6SUGA==","shasum":"73e57bdc47232d5b098891f301baf82bc8f38601","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.1-beta.3.tgz","fileCount":33,"unpackedSize":258152,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSLZQUuhncPhn7CNfl9iC50TCEyBUHyCEtw0Nsgon9YgIgDgbGyvzhztlYCpIg9guJxlpfyI8nAvac7TIWDFi/suM="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.1-beta.3_1521119225525_0.6429072764261372"},"_hasShrinkwrap":false},"1.5.1-beta.4":{"name":"ldclient-js","version":"1.5.1-beta.4","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","browser":"dist/ldclient.umd.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"jest","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.1","babel-jest":"22.2.0","babel-polyfill":"6.26.0","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.3","eslint":"4.17.0","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.19.0","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"4.1.2","eslint-plugin-chai-friendly":"0.4.1","eslint-plugin-mocha":"4.11.0 ","eslint-plugin-prettier":"2.6.0","jest":"22.2.1","jest-localstorage-mock":"2.2.0","prettier":"1.10.2","readline-sync":"1.4.8","rimraf":"2.6.2","rollup":"0.55.3","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"8.3.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"3.0.2","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.2.2"},"dependencies":{"Base64":"1.0.1","babel-preset-env":"1.2.2","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be\n   included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"e6abbe9d8026ebbc4e961420ca078d5a0b7451bc","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.1-beta.4","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-8bQHgaxQ1bUahxo3QauqfkcaFHrxdERw3swPFOIYTx7l36z7lJkNt1060+K2Ek9LIC2TeVEqT3KLDWvCnpHwuQ==","shasum":"0f8b3f5df06d04c6d09e5d564eb25f1de82f2ce2","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.1-beta.4.tgz","fileCount":33,"unpackedSize":258152,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKi5MfnNKGjny26czeJRZkQpjt/YKdwvnzsQqJkVVHtQIgSB+8AueMmyrShAyPm6is2CUFvwTP3/lBdylwLI2ga1I="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.1-beta.4_1521639791014_0.7695278192789763"},"_hasShrinkwrap":false},"1.5.2":{"name":"ldclient-js","version":"1.5.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"b7cd9c45f7d73633854b8c5cd3de5f49d72a0d0c","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.5.2","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-DIuncGTAJLhfinOmuHEzkxwPrbJ8DrDlS/IzfXuDs5pZbE0e7w8qIQDurHsptJyRzRJ2NpIVJ1faZ9JAaGYzXA==","shasum":"3e84a3d31289c10902aa755b5c723f57210c3563","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.5.2.tgz","fileCount":32,"unpackedSize":313322,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2cwm7YMaCMnIsun9hIwwxiALFyNILmVa3UOJb6GA3xQIgZc/gZAksRglJQvION4urPdVHJfdroL6Bs11Y4XKkolY="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.5.2_1522264694968_0.1606723627358102"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.6.0":{"name":"ldclient-js","version":"1.6.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"63ed7b15b609babf554f90a3787b4e7754808025","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.6.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-EBfjITNLJtTbvGiAlAqB+x91/pCYpbMzA0St9z5qN82U74AShioZikQ4/V5QKHp8dni3fb84PQjM/KZOeQXalg==","shasum":"e7618f5a46ef2bd0a9967a3f9f46f97bd29e1c0f","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.6.0.tgz","fileCount":26,"unpackedSize":150142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC56IC9nT8QgCNmCuwjnqzUJoSzHAbinKW/lybmBZYYmwIgYGL7bni4sO40MfRAm93JrICfE71FuFngykdxau8vvkE="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.6.0_1522277742236_0.7719243526219426"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.6.1":{"name":"ldclient-js","version":"1.6.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-junit-reporter":"1.2.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"74b8cda36519b7de32bc6f997603356a444aa822","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.6.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-qVMTn0HLn7rigXRxnqZPVxxnqy9B1km7QEA7ZMiFWNSBGsyal3uBk/A4OOnQrgAuhSDTnWNAtSzWsPi4NhObWg==","shasum":"85c03795defed8e453fa7579972be4158b7e3c4c","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.6.1.tgz","fileCount":32,"unpackedSize":330611,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXxhJe+VmgGtJ1kclPb9WSubFD7lyxKQlXU2aKWB+FjgIgVMlLmnNdQZGTYy98boFAbOiotBnFFACFnb8zdfylyl0="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.6.1_1522437327308_0.6824416920807088"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.6.2":{"name":"ldclient-js","version":"1.6.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"src","scripts":{"build-lib":"webpack src/index.js dist/ldclient.js","build-min":"webpack -p src/index.js dist/ldclient.min.js","build":"node ./scripts/build.js","watch":"webpack --watch src/index.js dist/ldclient.js","test":"karma start --single-run","test:watch":"karma start --auto-watch --reporters=dots","prepublish":"node ./scripts/build.js"},"types":"./src/index.d.ts","devDependencies":{"chai":"3.5.0","gzip-size":"3.0.0","in-publish":"2.0.0","karma":"0.13.22","karma-chai":"0.1.0","karma-chrome-launcher":"1.0.1","karma-junit-reporter":"1.2.0","karma-mocha":"1.0.1","karma-mocha-reporter":"2.0.4","karma-phantomjs-launcher":"0.2.1","karma-phantomjs-shim":"1.1.2","karma-sinon":"1.0.5","karma-sourcemap-loader":"0.3.7","karma-webpack":"1.7.0","mocha":"2.5.3","phantomjs":"1.9.18","pretty-bytes":"3.0.1","readline-sync":"1.4.4","semver-compare":"^1.0.0","sinon":"1.17.4","webpack":"1.13.1"},"dependencies":{"Base64":"1.0.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"5a0eebe9b279292e816038881a10b8d3f3c68bb4","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.6.2","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-7bmaioi2utzojz693mHWYLdaDgTp4QYwgh8WUA09eUFJiK3gj9ZipYda4GhWTtZYnds6aidfQBXjhTgluL4hCQ==","shasum":"fb47ae3f138ddc24c564bc26289d4418f4d7dc4c","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.6.2.tgz","fileCount":32,"unpackedSize":330784,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7luKf3zYqCOLQ5ALxHW7yt8rmBeU+msmnNdOpClnc/QIgZYKw2Y4RYC1vDxtMqUdAX0q+RyhFM1HBkIZUsHpZXeE="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.6.2_1522934758455_0.8255355988492559"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.6.2-beta.1":{"name":"ldclient-js","version":"1.6.2-beta.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly SDK for Client-Side JavaScript\n\n[![Circle CI](https://circleci.com/gh/launchdarkly/js-client/tree/next.svg?style=svg)](https://circleci.com/gh/launchdarkly/js-client/tree/next)\n\n## Introduction\n\nThis is the official LaunchDarkly client-side JavaScript SDK. This SDK does two\nthings:\n\n* Makes feature flags available to your client-side (front-end) JavaScript code.\n* Sends click, pageview, and custom events from your front-end for A/B tests and\n  analytics.\n\n## Browser Support\n\nThe LaunchDarkly client-side JavaScript SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\\*\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even\nwhen `client.on('change')` is called.\n\n### EventSource polyfill\n\nIf you need streaming support, and you wish to support browsers that do not\nsupport `EventSource` natively, you can install a polyfill, such as\n[EventSource](https://github.com/Yaffle/EventSource).\n\nYou can load the polyfill via a script tag in the `<head>` before the script\nwhere you initialize `LDClient`:\n\n    <script src=\"/public/eventsource.js\"></script>\n\nIf you use [webpack](https://webpack.github.io/) or\n[browserify](http://browserify.org/), make sure to require the polyfill before\n`LDClient` is initialized.\n\n### Document.querySelectorAll() polyfill\n\nIf you need to run A/B tests on IE7 or IE8 you will need to install a polyfill\nfor `document.querySelector()` such as\n[polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\nYou can load the polyfll via a script tag in the `<head>`:\n\n    <script src=\"/public/querySelector.js\"></script>\n\nYou can also install it with `npm install polyfill-queryselector` or `bower install polyfill-queryselector`.\n\n## Installation\n\nThere are two ways to install the client-side SDK:\n\n1.  Via the `npm` package: `npm install --save ldclient-js`\n\n2.  A minimized version of the script is also hosted on our CDN, and can be\n    included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Basics\n\nTo create a client instance, pass your environment's client-side ID (available\non your\n[account settings page](https://app.launchdarkly.com/settings#/projects)) and\nuser context to the `LDClient.initialize` function:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user);\n```\n\n## Feature flags\n\nThe client will emit a `ready` event when it has been initialized. Once it has\nbeen initialized, call `variation` to access your feature flags:\n\n```js\nclient.on('ready', function() {\n console.log(\"It's now safe to request feature flags\");\n var showFeature = client.variation(\"YOUR_FEATURE_KEY\", false);\n\n if (showFeature) {\n   ...\n } else {\n   ...\n }\n  });\n```\n\nOut of the box, initializing the client will make a remote request to\nLaunchDarkly, so it may take approximately 100 milliseconds before the ready\nevent is emitted. If you require feature flag values before rendering the page,\nwe recommend bootstrapping the client. If the client is bootstrapped, it will\nemit the ready event immediately.\n\n_Note_: Feature flags must marked available to the client-side SDK (see your\nfeature flag's settings page) before they can be used in variation calls on the\nfront-end. If you request a feature flag that is not available, you'll receive\nthe default value for that flag.\n\nYou can also fetch all feature flags for a user:\n\n```js\nvar flags = client.allFlags();\n```\n\nThis will return a key / value map of all your feature flags. The map will\ncontain `null` values for any flags that would return the fallback value (the\nsecond argument that you normally pass to `variation`). Note that this will send\nanalytics events to LaunchDarkly as if you'd called `variation` for every\nfeature flag.\n\n### Bootstrapping\n\nBootstrapping refers to providing the LaunchDarkly client object with an\ninitial, immediately available set of feature flag values so that on page load\n`variation` can be called with no delay.\n\n#### From the server-side SDK\n\nThe preferred approach to bootstrapping is to populate the bootstrap values (a\nmap of feature flag keys to flag values) from your backend. LaunchDarkly's\nserver-side SDKs have a function called `allFlags`-- this function provides the\ninitial set of bootstrap values. You can then provide these values to your\nfront-end as a template. Depending on your templating language, this might look\nsomething like this:\n\n```js\nvar user = {key: 'user.example.com'};\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n bootstrap: {\n   {{ ldclient.all_flags(user) }}\n }\n});\n```\n\nIf you bootstrap from the server-side, feature flags will be ready immediately,\nand clients will always receive the latest feature flag values.\n\n#### From Local Storage\n\nAlternatively, you can bootstrap feature flags from local storage.\n\n```js\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    bootstrap: 'localStorage',\n  })\n);\n```\n\nWhen using local storage, the client will store the latest flag settings in\nlocal storage. On page load, the previous settings will be used and the 'ready'\nevent will be emitted immediately. This means that on page load, the user may\nsee cached flag values until the next page load.\n\nYou can still subscribe to flag changes if you're using local storage.\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and\nthat one user cannot inspect the settings for another user. Secure mode works by\nhaving you include a server-generated HMAC SHA256 hash of your user key, signed\nwith the SDK key for your environment.\n\nYou can enable secure mode for each environment on your\n[account settings page](https://app.launchdarkly.com/settings#/projects). You\nshould send the computed hash for your user in the `options` array during client\ninitialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash\nfor a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your\naccount settings page. Then, compute an HMAC SHA256 hash of your user key, using\nyour SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\n### Listening to flag change events\n\nThe client uses an event emitter pattern to allow you to subscribe to feature\nflag changes in real time. To subscribe to all feature flag changes, listen for\nthe `change` event:\n\n```js\nclient.on('change', function(settings) {\n  console.log('flags changed:', settings);\n});\n```\n\nThe `settings` object will contain a map of updated feature flag keys and\nvalues. The map will only contain the keys to flags that have changed. You can\nalso subscribe to specific flags:\n\n```js\nclient.on('change:YOUR_FLAG_KEY', function(value, previous) {\n  console.log('YOUR_FLAG_KEY changed:', value, '(' + previous + ')');\n});\n```\n\n## Events\n\n### Click and pageview events\n\nIf you've defined\n[click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests)\nin LaunchDarkly, they'll be sent automatically once the client has been\ninitialized. You do not have to do anything else with the client to send click\nor pageview goals.\n\n### Custom events\n\nYou can send custom events by calling the client's `track` method. For example:\n\n```js\nclient.track('Signed up');\n```\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by\nchanging the URL hash fragment), and will trigger pageview and click events\ncorrectly.\n\n## Changing the user context\n\nYou may wish to change the user context dynamically and receive the new set of\nfeature flags for that user or generate events for the new user. For example, on\na sign-in page in a single-page app, you may initialize the client with an\nanonymous user. When the user logs in, you'd want the feature flag settings for\nthe authenticated user. To do this, you can call the `identify` function:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\nThe `hash` parameter is the hash for the new user, assuming that the user's key\nhas changed. It is only required in secure mode-- if secure mode is not enabled,\nyou can pass in `null` for the hash.\n\n## Development information\n\nTo build the module, first run `npm install`. Then run `npm run build`. You can\nalso run `npm run watch` to rebuild the module automatically on file change.\n\nTo run the tests, run `npm run test`.\n\n## Community\n\nHere are resources from our awesome community:\n\n* [TrueCar/react-launch-darkly](https://github.com/TrueCar/react-launch-darkly/): A set of component helpers to add support for LaunchDarkly to your React.js app\n* [yusinto/ld-redux](https://github.com/yusinto/ld-redux/): A library to integrate LaunchDarkly with React and Redux\n* [tdeekens/flopflip](https://github.com/tdeekens/flopflip): A flexible feature-toggling library that integrates with LaunchDarkly\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:\n  * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n  * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n  * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n  * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for\n  * [Java](http://docs.launchdarkly.com/docs/java-sdk-reference 'Java SDK')\n  * [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference 'LaunchDarkly JavaScript SDK')\n  * [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference 'LaunchDarkly PHP SDK')\n  * [Python](http://docs.launchdarkly.com/docs/python-sdk-reference 'LaunchDarkly Python SDK')\n  * [Python Twisted](http://docs.launchdarkly.com/docs/python-twisted-sdk-reference 'LaunchDarkly Python Twisted SDK')\n  * [Go](http://docs.launchdarkly.com/docs/go-sdk-reference 'LaunchDarkly Go SDK')\n  * [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference 'LaunchDarkly Node SDK')\n  * [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference 'LaunchDarkly .Net SDK')\n  * [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference 'LaunchDarkly Ruby SDK')\n  * [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference 'LaunchDarkly iOS SDK')\n  * [Android](http://docs.launchdarkly.com/docs/android-sdk-reference 'LaunchDarkly Android SDK')\n* Explore LaunchDarkly\n  * [launchdarkly.com](http://www.launchdarkly.com/ 'LaunchDarkly Main Website')\n    for more information\n  * [docs.launchdarkly.com](http://docs.launchdarkly.com/ 'LaunchDarkly Documentation')\n    for our documentation and SDKs\n  * [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ 'LaunchDarkly API Documentation')\n    for our API documentation\n  * [blog.launchdarkly.com](http://blog.launchdarkly.com/ 'LaunchDarkly Blog Documentation')\n    for the latest product updates\n  * [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ 'Feature Flagging Guide')\n    for best practices and strategies\n","readmeFilename":"README.md","gitHead":"a678976187c5132fa0ab1d6695f10d1dc3f4a96e","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.6.2-beta.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-NfGnw3DhYlF2YvL1c3EIESBKmPfYblkW6gSu+1NCQgzsOJox0be1cfQyNcMPWMJKhd4cvC64J20rnFCIJ21E+g==","shasum":"6ea81e51b67e882281468a2d1eb3eccf2c615f11","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.6.2-beta.1.tgz","fileCount":34,"unpackedSize":309362,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHW73INGFoOtjqOCCQcsc2WISSN97zPGxy0P4cyeo2KJAiBDGdGYfKELtgOqjFxMCeUVtwNqJlOH6ymeV9DDCFEk3w=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.6.2-beta.1_1523453173834_0.005606171376141278"},"_hasShrinkwrap":false},"1.7.0":{"name":"ldclient-js","version":"1.7.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"13456be28d5688ecb6f27b6dc479eca47284dd56","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.7.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-QyYp2ax7x85i1kfC5HveWJ6zRnOIsdgYqG/+Y+eVbplnWlb9AsI+oPVJw+lfSB3Ae/8+hwLjalSNIaaXKgGQRg==","shasum":"88c870b40fec67c3ff6bbff84795ac7e8ce1c340","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.7.0.tgz","fileCount":36,"unpackedSize":417410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa44BOCRA9TVsSAnZWagAAHDMP/Amg1/DZsPlOh92+N+xr\nktkDb5XiRQTM4A5kMaHPotMetUVTxCGxjKTbgrLBq525rdPurEnVVLrnvnEb\nC0o47NJzKy72RfEMU/vZj4mNex3tA09S9obgMxb9vaOxKaCuXDxB7FxWgNnD\nx5GB7KAISAJ4ZmLmgbLm3tKhpb+ul0I2/K+C0SDTF8EgRDT9X5M36Lgiup2P\nbfG5/fZHAjgQbfrHtpfualvk3d2b8Lp3KBf9yadvnm1afM8qD/dFJaHhOQQt\nWph429mcdkt7XOfK7RdiMel1eCFQegG6TFQweCq4KRtMclDLdyG00xIil442\nPgO6slJUvF5seI4uP5sEE7hn9ES4vpNEOkGNY9XddMLcBoSEWzyUAEu0pEwJ\nE3NA6NCDk7pNrNxVgK16nSM8mU26vmZ/8Tec/HY5OrP7lULQTBt9evl57l12\n2e21TT1YXKf/6/naTuaiLR3yxqs0oeanCpHdl3VLvmXIEvG8RQcrB0Gtgluv\nYksvd/QMZR3xVyAzzp7gyDswZS957DoryiZm5lBkGTla+piicZ6wR6RFelcV\neyZoP8AjiCr9dcJXSY/kdHlsKX0CMO2+hqeQEE3LsuOxwNyhGMt/WTcNsrxU\naMsg+h1Zl97CZJUcmAZIZb8oNH1tzbP/PxsegBqB+aaFzHBXYeCKi2znYHT0\nKQdx\r\n=aITu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHGxhoRyQ5InWaM0o/ilI+ZHSfhJ7nCP2vQdiYSE4HIAiEArHYaO99/qLRfyF+CuZ7H4aL3ht2GulXBNKJOA63Y7jQ="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.7.0_1524858957142_0.9566411609658685"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.7.3":{"name":"ldclient-js","version":"1.7.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"7312995ac2f3a352498a51dc582f69e5e814b331","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.7.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-n0bvyY856Le7WGJJ06UzG+uUWUNzJ+KdKb09Y0QHxDkV0X+sSr2z3qFBkjbavSArORtjQTjahSvC3C9LMrTzcA==","shasum":"0009763078f4e34d7eff8508661f62e0f0c40580","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.7.3.tgz","fileCount":34,"unpackedSize":343056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8erbCRA9TVsSAnZWagAAttkP/37f7sa9H2CDaaTTRCZK\nf4ax0iaXzyWsfI3kxArjF1L2ZSmnPDvrVHE7t7iL7rVqGme6+IOwuRTvja+V\nwCyf8Iihssys3fgBAaWcxLO8lJ4BrgCxRfRGtaew/CO0fdxtYo8QoJ2jW5da\n0BE2TcCDIY/N67rx3xLCl69Dxp/bVBPwhXPnbTdbOJnRGbsCD2XgGNEInd8V\nzQo1aa9avVyysSXMwI4lxSxrMupEz+AkZ2G7DFpsc/d/QyZvxgazmHUzH0Hz\nehJEmTjSTTYB4Ia/m1HrWHoRCzuhj65myEIjrbKAvKKWWLXm1uIqRqvkBX56\nM4ipqpKwJMU5JDBS0f4WbmJwptN40UcbOwcLzhVCJ8C2y35iC5AH5EHgClhL\nsatIU5eWnAkrVnsd5xRzi+Jqbl+XuPTIC7YiEIhWHZYCxCAhTjNwgCm/vkw0\nyOPw+s0vOfRxcnYUzErf8iC3UamCbN8JQhiQyuufkXz3bksiZ+wGEfnztAVH\nHxUNgZtnjOY6pWrcTxjgY3BAtKwbfB1PHbrVV+XvI3TH6Ac4fPpxuQ7hZxr9\ntBezI2m1j4lHeV3XU4rwBcxwZnn4bGqd8yliefcuYIbQQ198aXOo1lusW8dZ\nSzQboYEDRpl6lqooO5UXLy4nh41QooMPGNfL8kkz2+Q7zLxPDCKA1l6uob8l\nyZwl\r\n=vPb3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/goIFPi+yyBnKhFVxnD5MjdIklFIfVI63z6TFe2Ln+AiBLfb9JlR838b6ikUY46jdM1bGitYzSgcd67pJAyfcxxg=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.7.3_1525803738361_0.7313426853207539"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"1.7.4":{"name":"ldclient-js","version":"1.7.4","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"a6ae2c662867d79d78d627732b6ae5e7c44bee06","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@1.7.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-qfhxp2cnO8X8pXfspm7KYztPutBbIe9V+byjL4jnPqhiRj7+49Ejbjcy6fF2OsglHbZXi28TO7laBKiCE/0ZuQ==","shasum":"5e6def39ea1133e8a3dd8f93dab442a2db9f103f","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-1.7.4.tgz","fileCount":34,"unpackedSize":343924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBa3iCRA9TVsSAnZWagAAl/wP/2MqNGFPUoOaPA7ADbpb\n0C9zVgrIvDKO64skTIKOvm5Yh4VzYdPc+STSJnAGpQn0IKgFvZvSz/n+UIW6\nADunGmhoyJmPq9tzrL30CZ0yjAsJhaAzQXSoWUl+SCMV9FTD3eRCcwUMwCNJ\nIoTToNGl3+wIq0GgfMQ10MX1XTpvWXoUjHwBCpTAeb4LuKJdethCYwTxfSDP\nFnDotri1sKNbHq0V5pUHUB7MSuBl5Q5nKeRDTie7gWaX3CaiRp9eQu1SU0VO\nREmblyTzPV08hDxo+SGTFSnTy2yEwpHSheN6bP74fqndNyDBU3Rr2zR1ER2+\nlX98d8UNti4ltjljsi/bs25EWLeX73z6hxbZbZdR4wJ7wxDKi3wE1PRvLacE\nktW8NFuG08l231hoE5vNYs0FhjhDvTMiUWg2KtT1ejTNXcnqfSexQHZ8PSWp\nGvJMfmxB8pbmJ1NSXRauMshsbyHwRdWk/S1zUqSSQB+5eScUZaSYlZ4/NhzK\npFV328r7ITX1+v6wW1G54CQeRMIiZ0rVRQt5NiJM7ivrSFoE1tecGT05QnlT\nLy0svTrnFusZmQTm7lRSChg0geJ5C2E9tPV1wyzzQYR9Bva6oia9MZdaw910\nsh3lyHX2lEhwCdQ31SZ+yEESxHfcXgiNxg/PD/R0zxf5H+H+F3Lgly6dmikB\naAYc\r\n=xiPE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRv6I9ZEaFI367fffF77JaytIlscqMl4NsMVe8UXtL1AiBebMpVByCek2q+Z8YYUQ98pQHB9aHtkLA2O+i+ntRKyQ=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_1.7.4_1527098848722_0.9231117973025946"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.0.0":{"name":"ldclient-js","version":"2.0.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"84830ad6d80827ee30918957cb552d467d0c3205","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-gHsDDg/a8M7rOhVPlE4VHysr6QEnPpj2AXxVqZTsaduKS6ZufqPO4Yi6Pkb6qViUeFSss6u8rzKO6KDG1cv24w==","shasum":"80865a1cb36a1153940d8a075e2b70d4b126ebe6","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.0.0.tgz","fileCount":38,"unpackedSize":426563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCLMZCRA9TVsSAnZWagAAmhAQAI+Hx3vCT1wE3oRsaTFe\nHuyNnun8jAWQIfuV+rJOnuBNPrVKC6n/oLAl56ol5/vxPnMCGWXxZyqS2I/T\nyQpDoqETcQuV0NM9tI0cE22e0zCCDJRF9K7jRdbZHgpWjkfOF+dBWUn2myAK\nPwNNYXlZ66BXPYdo0YTYqoWlA6bYGTGlvRBQVCWkP2NUA2LMIRF8jjzekpFZ\nUTNC73R0xVOywAtiRunxneth9cVOsaxmdFCrgXY8u4cA5ISkl3ljUN2Ma4No\nB7sRzJwkBthG63PCVw3A9iSm7oblgoT871d/IcHHOvoOOh4q/3ckjJRcFABS\ngjRIcW/BQNRZEMADZW1qLUCZI2k27BxZrGD/k3Hi+J6vjHth5FyZiYzRYpFZ\nkyadEt42z+j+Ap8Voi/4G9s3L2qrfkfWNlwqraLUEC0lQ/OpL4xo2KcZSEsy\nIpGuf916MOAPsdJCYY3PfLDfrIC66d67Z9k4kZ+mr8M5CQnD+TKYc+bOpu8H\ngEgzecpCd4l/uvv9JuDYxktNDIjhIwlDddiCJPaIUozwTwJnHtRxzpTXWODl\nbOdkbvygTITLGLXLqWoPtSA16EAZUX3n2Fa7UafzrIjjslGtiVpZB316ukP/\neZVMjkKFC69XqUafvWeQaUn3eZj47Wv/xsIawLMfxqYH8rKRo0sAZVFLyNd9\nG5HB\r\n=oovz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvIpP+5HzgaMeVr45R5eT/hTt9R1TgYjuxo59uLXRkIAiB5dnJS22awD6A54I8ADmRCPoqak8MdRkSPKsX4f2FXfQ=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.0.0_1527296791278_0.6003814509440051"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.1.0":{"name":"ldclient-js","version":"2.1.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"d84faaf62cdc5561495e0619abf42c2c62786c9c","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-bEVP9XuaPvZrpEur+h/4CBDlSdoBgQtQcXRVnxlFHlNjmfA811rw39OCM2mbHveiYNTp1/MmG2LhkWbHNukZ/Q==","shasum":"963752439580b534c2f434c1062a736c661f7909","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.1.0.tgz","fileCount":38,"unpackedSize":433078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEI7aCRA9TVsSAnZWagAAQY4QAKTeDWrbn94lsWVeV/Jp\noSPIL4F8IDfxYMV1oBUNGdRbIJXkpZiMXPsnA3z2KToLqH/sS/KCrlDXL18+\n3LLg+a3+D7B4rcSQ6ztV6FAKmPO/BgchL7X04OgdWvppvxek8ONE60x5uYm6\n9F1HRFICiEdX/HFJkI3+SCnrdxP63wJuFM6+BQHduoWQO4oWEzTJOCy6Jvqg\nFm+IeyUkDq+1VH3DWG+Tgc6WiuHi3Mw53vcCIf6ObeXeKL0GmsRXmsMKZjNc\nDtuKKeB66yJiKA7TaZPlKcEgnv2BJ09099mf4rFeUYp/HwGpCNgDdJG5Fui3\nIVp7EghpMcNpz/hMiQpvqgE2sBf1cXQt6YXMEgJvjD5Dfc2HDgYGqEsZQwpT\nNJTX+hAJO7AA5FsyWCHAz8ZTEd3GNAmCLWCl6Claru9SRc5y/b8PQx71gN5V\ngvGbqEOuBhKibl+xxIFg0o/zEZrRomhiUqJxJZSIWfs5zeOxt+x5ru9rWBOA\nK+fGQ1qx7InEkJaROYzJS6NZ4LaYqKcoWhANCGpf9qarxjMKB6waUZzzSv4O\n/G6Hwy18wpjh8mC2+hQLoVz1/sIZeaJevVv5X2t1tzTCdzgBKWjEV3sCzSXJ\n6z3dAcJ0cofsG6YIiXaqPCiLoe/gvebYtRc284J5jX0zS/TKB4iDQesIzqIo\n/+XN\r\n=FXS0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC922DpN5AxfbLpq5ExlddpIzWJAI07hjyt/mEA2mfpAQIhAOghB9g2ioe8ALvdkDQuD2y7xrN7se7wtuUkkVHjYUsq"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.1.0_1527811801162_0.40684888304775746"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.1.1":{"name":"ldclient-js","version":"2.1.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"ee0ac3e7117b1f18a73f5c7968bf6caf07412ac9","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-xONcy5QdbaoPhzLlOIKkIW4+ytkmEM15Cp3C6GHSe+ai9+W5TdinVQCEtUoHOlvfblaKsiKHRVjpejxtDgBfbQ==","shasum":"c8116031f4711e75918f0972657785433228f70d","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.1.1.tgz","fileCount":38,"unpackedSize":434926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFy+VCRA9TVsSAnZWagAAazoP/iQ3jfzhbC2Ggaefj9ar\nzAlq0EDy/RIhtbOrZMFahGaU+oTSATEEa9wNTdzw5GVkkWkABe/tUrGbbGcE\nrz5daGClduAyCmImjapMJFUrRej8BOboIV7pPHjkByqwKeYHpygAWNEaah5Q\n5AgceYUA8I4J+IFtruUS5ZTlR60eWQADGMfpnHfOm9vgMSpJlODmJfRMbP+b\n2WRx67/YAgskANm9AZPZ3IFhVHOFMQm9Ic11CJOLnPohQL8RBM8lhIWpXy4D\n3B8zh4f/6PuWbQTFkwsGlmEFMjzt8EVWV/a1Wrw0fUjvoMqcPN62RTD3lr3y\nSEujroubqKVbJiQBNivGauTkLvByNnrFMEkO+99NtHnqV6X0r/A6q0wLmBNT\nh0RyPkcbZY2jEkKkydokJYOO2+kogX+qtPN5hGn1U3nc0KRL4S1blIgWALBW\n2iDyJzEEvMIiRuYrSi0EQFvvYZ1UslNqf0J4YK3KoKuFZeOqSd4xxJ8pNRhw\nXDK+dHVcO9ZF8/EIVre113kFTLLWgTLZ0YCoTOST032vOr54JcUOSdWyLZ0y\ndKCgYLzrocRUItivnPNToyvyKPwrztzy8i7gJD5BvJF0y5wamtFMeQZnEddu\nYCEzBWJIWTZ1906T7EQY6xoEyuYGuqTbIgz5TsZ9MawhZPjqCyhpGXRJvu4f\nOQ1F\r\n=E1l+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOYbXeK5FqrRjWMhPNmkhoZ0Fmife4xtcFFJnCA385mgIgSR83E3DDtu4M6miILXluntg9dwnUl8LYL7M1V5rgmZA="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.1.1_1528246163430_0.19670649382750383"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.1.2":{"name":"ldclient-js","version":"2.1.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"73c953dcebc44f2066dcc3df5a0f3fc19ecaab28","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.1.2","_npmVersion":"6.1.0","_nodeVersion":"9.8.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-ElWqE2/XuCDJuiipNKYHJaLj6feOuG9FwdkZqLdMAFKYeCaEf7ic2wbwOpWsSS2DNjll//KllNltZ0IXYzXLvA==","shasum":"b9a6cab0d8e4c0c1b2e66c241751a5255b703ffc","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.1.2.tgz","fileCount":40,"unpackedSize":536132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGuRWCRA9TVsSAnZWagAA9HgP/3WndrHhPwVcfpuotN3E\nntxBRmoTkHwQ+1Y6n0oObnLxvHQlny7fmq1vpOrWdQ2PXZWZkJQNaQwGKQ6k\nZDWJcrHrZnacCvsdmT71KBArxBoughxK9Wqm4/DEujYtmF0h/CJ6eSTclwzS\ngon/In56J8Wcvyc9yTkK/jmfqTxDB1Pq4QnJo6+eekNqiMJApuzChbUyG1g/\n5FHh7OJqRYmcPyWxNlA80Rs8uLQR2u5hpei0IUkW+qMIiMh6cDZaQw0Cwfb1\n4RpMGVKgTXBibtFmI5n6sp0hlhJKWoY2dbrUlvc7FpS9ye16UYW+8fAj2XQQ\n4GqrLM/RycOi/iuCKoqFFt2XPCtK8ehalIcCjEpqo9U1fUPiYLIiorLSwDzP\nEfWXIxQIYUHzpbxgHO2SnkvLPZXP9t+4KZvSdS1tlXivT45iWRU4UAgE9M7Q\nFVACZQ42eAdPWIpd+3mAGEECJxxypUIB5DbihPqX/cwsS4rIaf24I8kYmJEX\nIipD5XCR1CtDwBG45+BNLmR4QlJfW+nQTm5TEuEtApZd3et3ow09ljENy0iA\nSB5M66P/Fjm5cLBNKQzATOOzq5Z/34/GcPsR2bbDeKrcbjC3XYMxFNU1Fnz2\nI3xlrkxZ3tgE26jpinJO0LFfTZLLFU+0TEHIsFrg2KcAGhq+L21b+XlgOUFa\nj8y6\r\n=OxBa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMRkpx7zIS8XI4ymPtScjKdQFM3pluaoJ2GGD4ogLThgIgGdUGs73j0KlfRb19qPJt+dT2FR44dMo1QReDhNyH0uc="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.1.2_1528489044426_0.24865773405160008"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.2.0":{"name":"ldclient-js","version":"2.2.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"e2253bccb16efc85dd87c7efbe8a1573ad8dd415","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-EtbofzUvZ7oQ5Im1Wi9FMsx6I6d5eYXTNc0NRaS2x3LUQG9B7RXLYfgSPo1AUBdgVIDkl7lGcvmIjxE9+eZoFw==","shasum":"541f62da709f4602eb72db7f84f530c70bd47235","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.2.0.tgz","fileCount":38,"unpackedSize":439046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLWk0CRA9TVsSAnZWagAAjHwP+gLAGp9eUgVJSUhjUe6y\nUftugL+20SFKyvqXhmxLno4h2WFCHS3oQv38Ha03dXuJ7vgyXH8q7n8J5D5n\nt7GA6mB4by+ESEDd7vBxDm3+K6m00F3vbfcSyukDXJb+vUb8/JJxqlXjQMf8\nMssd6rdO8Irk8sDQq5So0yPm8TyyFIaa7b5El/ZQ5csHhIh7b8F+DMoXGgYh\neCYtxrPjOluG1O3TFvts9xPVA5XoAP+u/IJqxvTjhq5ybWE30NTyOCm5fJBS\nDzamYlsdoKYmoL0O1EoI8OefSnjaVuux+gAeohrQnQjj6diQmEExR30Mp+xC\nPSVBLp9NspmEO5g8lCd3VTrx5Sb3ujCDN5dNYccdJA1LeP8gUzfKQretH5/K\nARqGfqVRs9Ni3KKNJuYr9Oaaxl2lxEDfBG5j1OkfHeM6oJN7k0YTW1DZy0EJ\nw6JMW4LiRFfg501wBGk/0t6OEvypBTtSJOiBoqUia37FhiEsT4sEVMVDKBWq\nTK0Jj+DiIpEEwqEIZerUtjyFkVSAYb5I+ItFpeB9UNbDqgBSoMFW/sSRCQbn\nF8UJ9OqV2dfMPRoQ9Bc4+zuDJrh1/qqjETxKPUj/m/6gf2l8kHhm/OIbAC/O\nkSTD8OMzF34dbHoKqPE8ERlHOyUUJdoME4PUDTt2DbCpIiFlZAGOIt7N8aVM\nAZ+v\r\n=PSWn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjpFchF9n3LYb37Gq08K1TBbFIqUWwHUzpdBZPXXqI0AiEAvRlDHxJb3Uuh9fWPuHvaxdftvFI/EL019Ia8KSL0454="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.2.0_1529702708585_0.02196801534887749"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.3.0":{"name":"ldclient-js","version":"2.3.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"7c1dfcf164dc3b059f131c35665ae2d75f2f8c50","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-y2Ama62VGipK7p70RJodW+yFe7ge7rSqJnMrfxg6FyLedoaa8b98KuBOsq69R21apamYZbzYldXbI6SiaFS1Tw==","shasum":"805629a29b682003a8f54aaa93e4bac7d838aa94","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.3.0.tgz","fileCount":38,"unpackedSize":444917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbM9bVCRA9TVsSAnZWagAAlUwP/jEIlSgpLaQhtJa3wa7y\nux1RZboXr5vxJnYMhrp5eJSKewEHHFibHiUlSmVjUGGh6JqzHH26fyf7jBfY\ntRDHwasv/4TCO5Bs75yLeOvd4Xo+AwmoqdY7O+SPsRppRdwIWxUD6S0h/vxO\nFuRjxRa/fOoPNFBVpo4KeBISGGTK5nlmJXndEQxamWdRdSgHLk9uOLqv+5Im\nKDW/Cauj3XK/Rq0JlAzzYNpwklEW2jqX3/icfUsmjZHlnNgsCWf1vffjaMND\nL7a2axqo7+SFKpIm75q+2yknp9bLrPgginW4RdAkGx9w5pOLNT9nqfyyr9Cu\nIeLPxWXFMSadxM7U4kixR1HCg1oanDE+BZlfe8Cc76PzIwixkAjDGJPzta0f\nRdSGtlX0qIpAZtL6CXutfG6nHsoqdiew4h3+5sfVv3YARQiovhIdjxc6Ug0N\nv2qr+W5X9tHS7q24LDYFHJB7LDnMPEwtqe2Ibk5kLEHqDj4a7g+D7uiw1D5o\n2y1f7yboW3il0lJbBt0djIo3FkPWqZjLq2OcMvhPMKr31i2ANf7HytKkGpm2\nk0KEVqYyD9NqfZWE576aIjH5gmuz+IIrLUCG0MxUt90QcYQ37U3FjW2QcZZ7\nxWeQimWr69YLgjWTj/+1Gt4fNrbYOKTuVWU7Pn/6QBuQnf84rTr0Vz492W4L\nVgkI\r\n=49DF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSk9WpOzAAtHLblPGXyQQoa5BDJgoYYk2NdfU7HNleKQIgYbGS8fTklxZqZfw52Vegw1kSNYkgLZDYyQbhe0xNUHE="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.3.0_1530123989872_0.5659753509139374"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.3.1":{"name":"ldclient-js","version":"2.3.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"b3c96d1a02508bb4c6259cbc38f28d05583f0f91","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.3.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-0uAiZGUyel01yb6wElzXjeuP9ohq6G6sAyCqQ1+UC5qPJgvzqJyPdqGONbI7vPLvEuNNWvPbRv0jVnmwDfcH5w==","shasum":"97dcb55df7ae036832ccc5a30fb49785add42257","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.3.1.tgz","fileCount":38,"unpackedSize":446032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNoJpCRA9TVsSAnZWagAAWKcQAKFTq5m4GmcZp2eUlasW\n9QWpUTFE6wwlAlH4/QKbOYmQR+Pui3QSe7g7j/G2PP5fcFPupZrszcicfP3j\nGXqsyR2wb9x0+keqx2jCpUByP1aygQXJ7aTp28guuD+EV1gdogpm/RwADJd1\nMmcg+gIDfoAVQo82uoHH09wps32gqjiYUYe8nnzLuZ8FLJ4JIm+2UnYYX/YP\nqnESyrZTX0hmXGt0VxE2NZ2gTP+9ZQbQMGUtpDF0nwfhjhKBaMnWhR4eaeQr\nttbSDA0m9lfo+CWyCVAyFOnLP8VmU8ystHNFLTKqnnZ3M1F0mbTln9/km+fI\nsK5Wx5/wCs8T5TqHp+W2lEcHJoFgAlq612PIKOsyKTFX1sYCn7yemYSnIi5X\nwK5OPySjvdffBMHLXpeHcb5Y61kCfwRidq3UxdFRpzg/tO40szkyvxZBRDmX\n4VbVR02JPTMrVwla1lG5vBYz26FcIzoeTkt7T5MBbn8qaIUK3v81jfV+piE0\nvm5kwERQRPo2CikGjo/bmnf3gKIvkcEKTGoxWEPTOPYGdiJ+sboBRwXtPWIB\nZtl+DCe5KgBBlHHI5dp2jCZqbyCj6rGTUnswNhSU5lmAKjB2Z2PiMfFS6I52\n6ClThBIB7xNou1Zi4J/50JnopUsUifP5UXbkAJkyucbSM65OnTiN+Js1JF1V\nJq6/\r\n=zLTp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDsQ9w6gx/PDZb4y6i6WwguTapCS7HboLCdaxqZpMrUAiBrSPIsASfg8q6C/nBzhcPmV56sQNH9BIjq4IoRacYvOg=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.3.1_1530298985631_0.7748768676982363"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.4.0":{"name":"ldclient-js","version":"2.4.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["src","dist"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"922a70aeb2c133f85f5c83489bb357c76b811913","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-e3VYpqJzRYAKk07C4vI1X18Yog/rlr8fRjDOQ+NhtUbgMlnRwI2j8IDrfcFT+byDy9QffRF75jzpIqMfTW8zXA==","shasum":"bf441391c3d90e83584ec16a7170c9cfbed0388a","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.4.0.tgz","fileCount":37,"unpackedSize":409336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbR8V2CRA9TVsSAnZWagAAMpYP/1O7yWHGAp5alU6rYUjT\nxM0IkNHFbNiWc6Hj7j+AVkE+ugP4BllYFTfb2qiQjvveFFleHQGFnOm/aTbR\nnEuIaBFgTZ/dTxMASuvRc19T36kovwp3GDtouRFss/Jl2Kf5cIWG3mj4+GKW\nGulyPT8/9OwX3c7Vh64mkSNiC2z0YE7G8Gf6MPWIwGReDZFw/w/ozBVKj8Kj\n8ZwRoWPhjm3YpjeiY+DnJ/PYiHNyTuAOBJJ+pI/+DWDu+Be9mTZshtuxNER9\n15fma0GrJrELFJzX6TQjpwYXT3h01L4gC8YKNVz/gsWaSCTRiHp4sS2JffWy\nH7ct3AfYtJXVFa7YN19swje/TYXrTXe8L4S8ao+rFZVaCBQtqpkCVYwQv+7r\nhyvKS/WwSLQEMc6HjlWbfAWhV8WnDr4En0HaV6/z6K/d/mQ2QCY8/9fwQ5S2\nn12CBKwQli7ZCn1NDKV4ETRT0QbG7yAa8vg1aYJ25H40cTAV1MARvRL5haJd\nd6CGUbw1JYs2IeNjI7BESBBY8KlECF4l0v0r6fmMP5xjtv5GonZcHt+cP30d\n2l5SWpMubpnx4ceDzQsQM55mE5uBF4rI+/e+XFiEH0ioxoHe+90Y1lsHCqgG\nn+K6VoqG4NnQbxMhDy6K35hMhJjLr5UH5CAPV1mWH5yCwytRXeENqvCtmQM4\nlafu\r\n=TCpR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFY2kYVL9fw3Isv5fuaa/E5ePOkQWlH5Pp5ufomFOIZmAiBjoMI8hKV+v8Oa/BjCs2GQ1UdmzVvvn7z0pUCnSNFptg=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.4.0_1531430262287_0.6059342253415994"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.4.1":{"name":"ldclient-js","version":"2.4.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["ldclient.cjs.js","ldclient.cjs.js.map","ldclient.es.js","ldclient.es.js.map","ldclient.min.js","ldclient.min.js.map"],"main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"types":"./src/index.d.ts","devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"bad2386a57293c50de8587f13352028262c7a7a6","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.4.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-NDMSaLA57qDy5PRP52n9Rj0dnBFXg97I99HYtImTs1NKUCnFcKDlclHsexFucm1OAy0U+kW54sK5a5jd+fccEw==","shasum":"0454b05c59527c45cdbf3c40a25d60fa82056237","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.4.1.tgz","fileCount":10,"unpackedSize":296004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc3QqCRA9TVsSAnZWagAAPFgP+gKVo4duITQyadmMESVj\nl3fg9y9NXDyjsIoITuCus6OnFx0GXslkCzjqJ4vBuT+7qQfx6GkCco48OBL9\n1zfe0cjhvJHwMhvfWxn4ttFP6Nj7Rt+Jr+BeVQjmPeLTsPqFZwOej0SY9gPG\nxhDKmvhDTLs2io88kgjU3yAYCVXmezZguVu7vN7Y4SysMpj7kGyAEbLzHnOB\nmU8L09UH8Tk2H/dM1VvSNnbqDkmClUAf2OrfDftHU6HlfLzXuKvnCDhQ+mgB\nXezLTdH47d/5Yqvw2nWnPkx++CPLVghdZlnjdLhsAts0zfCtJPjpddWv/IC3\npoARU5370ujttp0QPNa9ZFj0j/wWzFExxIo0cnqC0r036QKCudwZ8nZnTMkp\ncTs+Z0VrgMxopOwTuXSFlcec1+M5/vKwUGKN1KLd5k+u/103kzt84TvquCWH\nud1WwXjtSpVWSNQrsSFr1YL0xNC3PT3gFckaGLa8BwHwcreYWMRL3IU+SmdU\noxsrmCp3izxyJEN1wVSYtCe8UtTlnlbhGcRlSsUJj8Ht47lXGWldnEMywGGE\nl/ktqeylLM/G3RGLN8yamdUax83RqbVM2UhmNih7aMLYVRo00SFEM/Jl3WC5\nGOnBgF4604AmZeGR6yOMIvxRtStZE6ZItd7O4qcG1NppLDobm7tn7KMCheWi\nxBB8\r\n=dWQ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1kL4Sg+I0+S+9ABCnoBf0y+sKZi0yRJXkyHBrPg1f5AiBWLkWyr3LyXyB+bQttro6/HAIdO3CBkb5TjJId2p1lCg=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.4.1_1534293034046_0.9625066251902228"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.5.0":{"name":"ldclient-js","version":"2.5.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"files":["ldclient.cjs.js","ldclient.cjs.js.map","ldclient.es.js","ldclient.es.js.map","ldclient.min.js","ldclient.min.js.map","typings.d.ts"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","eventsourcemock":"1.1.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"85940ba734eb3c6c29820007af95bf8ab737fb20","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.5.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-gr6a+PKOr6BAGQejcuwXw2G+wmHgrD/EMEPFz3yXeglejVcDd9U4IkqF4zCJ7pdPO6+909dcqFpMrOjYn/+tjQ==","shasum":"56ed4096aac914d93d92b18614d3255f96f4216f","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.5.0.tgz","fileCount":11,"unpackedSize":315042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhF1ICRA9TVsSAnZWagAASOoQAIgF1KVOltaJ1K6UjG/V\nB1A1WCq39EwuHvtwLF/fhMsegBH8LWc8PLkU/cjkeLFZ1zYZBSUvjhNvmXk+\n+IYdMGxOxfQZAj670CAv1B9uARsakVI5FvIQ7qwesTQNhINjBH+ttgmgSZA4\nQ31fe4ZRZdeCGiUkB1Vq7BNbb74UzQGsY65IOjhsgc5NkGmN+gtBc/pFl0it\nEcnvuW5RE4NkYj5SwuvYnX0eDi9yVkiUpO2VJCNW+BpBNTF7reJVCfSsJ28L\n5Wv2zln+Sammg5kEzYa40Lnw9u6e60vqcgO44CxIimcfKX1dbD53Xr2hIFi3\naaIFPy+P8BfztIqqOmVnpucw2gu336PNfGgWvG4gAuFz3d+xIunEuCh0U3Ri\nYAyL2gQBX9F5Tdk+DaHRo//o9/16WEhgxitCtL+U3EgwuUFqv+ZQSrKaXkT2\n4647dm53u2jBXcHntQ6nUHzAXWIEDtdPProHYXa+qVilj3TEryejy7kjrQDW\nuBw4DDp0fop8qbEdjuelJtJV9bbJDRdNRLAgzZ4bxFpc9gKYlPdDTKOOZImK\ncz8HYhIgZXOi9sUOd1yqoBV5pZBMxC5SvCRcSjpj+ajmPoEc3o3x1poXdETz\nNARsf3ZXZeaY2haZ8/7RdZxra4KzhJIa5IHn3HE1w+gL8GvMugeYZjdVaY76\nepB4\r\n=3kVs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9LNxP8kid1rfQ+UUshpOQ3RGHCKNX9S5zNDy4ACyOKgIgJZqA+lxGKlkEu5tgIJO267r6qHpCHXBXWNkUcxAOybI="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.5.0_1535401287600_0.9292675589453974"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.6.0":{"name":"ldclient-js","version":"2.6.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"3160bd4342a211264198686b1e4edc90e99f5161","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.6.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-7qdoxGkdUlxxEsGv95ZPHvNzpB/3kis0k6Na/4VJOvWJAKK5gy2pqqYcX6ZO4ZC/K2w1Iiytxdq3tYVfDXifgQ==","shasum":"39875ae1b05fda2b4ffee4d53c103cabc2602bba","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.6.0.tgz","fileCount":11,"unpackedSize":332902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkthPCRA9TVsSAnZWagAAyhAP/joY3Iwtwfxn9jlbIMjv\nG4ZfQYkc7O0dH2ZtHofS8UysEsZ5XbJnGa82g8cfphXgiKHi6LL+3kcMPgCZ\nS7IZ1FK6wKQhSDaGcSCac3kGKm0nnRa/e5FsznklbYtdla8vuHWUkpE5IqGp\nVB4KAHoPqpPv8qjL6X9boIhFywso8QpgffqcizYZr6BNiOjcUwUilBdpYe9f\n1I6pZkdxR3kzH2IwuiO5PewhO0g18a5cEbbFW35S3zYbMrBct4XADVhSJZUY\nmFcNB5T0tLxMsF5xmLq+51Tez6dWnSqX0X9RSc990UVXrWUgxLyweKUiL+CG\nNjcT8HQmpsgnYy/3stkJVWsdm/ecPr66xUuuFXHutWueZW6luawU9jxaOjaZ\n4V4WlM6bjoUVOKtoZqyRulhJyyj0AqJr/O4g7iVLxJCIvWst4Yrn1RyRi643\n2vz1hqoRZyVR3UQnn2kp6Df2rO3TYY8wl6s8UszBnAcR205t1MTWPoVvMwFK\ns+f5VS2ynsGEOC0J+2QULR4aUjX70EF+LNOhae7aGmfz0WjK4+ClbQKohuOs\n3n5AidLQ8MnyO9u7a0lfWOoa9oqmGODGIQ0qZOeB4UAwngKui8+NB/BVsyLC\njjnBBqYil4zH1x9OY4aZV72RRDwzZzn4OKl7LliaxQRsH9IIlCxrRXx++yC9\nDwv/\r\n=1wEQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcevrLqZV7cwPuw6elHSUI7qG+K6oKlicB4Nm8xLg67AIhAOkZwTMefNMcBrLeISXgFdGJQGjPaBv6t/g4QGQ54Fyf"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.6.0_1536350286538_0.5017646301240037"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.7.0":{"name":"ldclient-js","version":"2.7.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"1bf908796ea6e0e0719e288655d96ffa967612f6","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.7.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-zjvxMZmWEmRBlCFz5Ed5TyyHeiA+SUAweUZ+U1ENpZxcvQOxbGyShFPx9Jcr3pb7Kl8IoUsHV0I1+phbGQVCSg==","shasum":"2b0e3ca7151900d483febac8f7c67a31a1099d0b","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.7.0.tgz","fileCount":11,"unpackedSize":344144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrC57CRA9TVsSAnZWagAA1HgP/jwbzWJq+wCWXl7tp8ln\nWA/5u94NjwVD8BHPrFy1wt74luN+9e/xd3c3qI1c8VsAPeOS35X2WRYpLGAf\nwOuwTEGHfQ7GNLMttaYcuVG7bPdIHhcdZZGK6q7/jOLzv5hS7OYEKdCAwv9V\nd3THG5x3Pw97MvJw37KYmbIXAybQsIa2d0eM7a5oxhLZAHO4twBHYB4X4Jdz\nU4M7VUHFXpmWhtpu8iEMRnrDolX3avolztW0/F3kSQVUUMgr4mczq6rKoPaX\nXXNtjEGdaUqzeOKK3X77su49k6rTJgWo1dKSk44YfyxsSgoonJAuEG59hhMe\nD2ozrv+LBGuZlr0so0eCPf5WYEc2QcnLpx+OWLDeQ+tnqeIJJbirrQ7c3r9S\nK9cgLPo/do0uFYTJp1geXmfuXGxBxvlrIasjNn/QUMgUN/JoROHiW1zoU+dn\nnL5EA2AgpPz5B+Fbod8Yyf6hUNuJ0BxBKFpAeMz39wL2ctkR814FeoghPL24\nKrwI5N1NqWl91iNbqXArBLmzMTNdJQ71XlK9rUrLgw+xnhSZwL7ZNrMb7wS/\nPAavBvTXDb2eU8zlS/PR6FSbHg9Z3n9Xbacx3+HnnwLSZ9mDAicqeGvix5q9\npBrMeuldNYGNkrZ4thiadTaUQN95kv/Nyw53AX/b7cP5FPt0YD1gkK9ldNfU\n595J\r\n=p3Wm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTByEU10p6FX2fVB0aVzD4txkhkXno+1P3Up4C6xulwQIhALCQmk2rTIZf2TBx/5yKmkPwqicGEBSxI2mFftxEgL0K"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.7.0_1538010746636_0.8356099003605697"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.7.1":{"name":"ldclient-js","version":"2.7.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"8e9b46037f253c25bdbbb3ba73aad36ee966c636","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.7.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-5RfPWPsOo0h0Wa3xrZw/MYRYZNHoifRZ+uwhRGiORqCgmRtWaxSsxrM7bkwMMe+k/1f2saxsTx8z8XxeOmGE1A==","shasum":"896e99161ac1e806467e1e279c0aa21405dc0a40","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.7.1.tgz","fileCount":11,"unpackedSize":343776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrXFXCRA9TVsSAnZWagAAK30P/0wY2FVK2zL8n8VG3OgH\n2KnxlXaW8fFIa7ITR2CI3mCDmmOJpR2OytVrlnc1s5LgvACWcTjebZiEHduo\nXjLx7WTlZqgos9JN0Le2QaTy2tcdbVUwJRCjgQfvIEop9GX9YsFYaCCuupra\nwxnTU7blemCooW2rOFYficNUesGjx26q9oV1RWLmxhBuMaRm/ikzYKMZZbqb\nop8IPLZr+LWv1T9QB/SJDHQVw1aQe05zNC85VqJktJQruhbowAtM3kf5NpV6\n8+GBwRNoRkHLbMowu7koqvI9S7faMGJywrkuG99rgIiDIOaJUWbTtixCIi81\nkx3wYuNeraarRh/xBTfXF2LManP5i/lf4/H+JTULHGzvziHVoMcN+yst5wlV\nGW2+Cl+i4tt32kLps9dLUREb5lxFQkTxh6GZ1UFmwH2zqWfDdc0ODcpNytxc\n3mV5bgv3gu9+Iy6W9SCohLxRQ5lPYLPvGd/jxo7qni0Cksdxj/fYHJFrSNPl\n6ZIDv7YXJW2174Bx37GLUFYgzbSViBnV/H6knkLftPRtdAHTk+oSc9KZ1KIS\nIpOoenubWIEhnLSjN6XC8S96BmX5kc4TuY5gxNdhJnlnlGMva5FJkiVPdv5E\ny/ZE5/4bDMgijebLjyTQAbRi2X0H3uFKm8NAELI+X57NAKRm5ppu07wDQp3C\n9h2l\r\n=umPo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDygsNdSztjSCnMHzKIiOMsyCJh/XoY5gar+q/LkLjPFwIgbpGct+WOOCoIwOQfjcRnj/urHANfuC/SDsCTy/vz9to="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.7.1_1538093398398_0.06026877880347814"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.7.2":{"name":"ldclient-js","version":"2.7.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"556711701d74d7c4a50981cae0547ec78f3d5eec","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.7.2","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-OjnSmQdrF1E+TJDVAIRMbjeKnskDfQEXxCq7r2lWOkXoxo+eJfVQS52s1qpYdUmGChPJjJOB+M1sRMgZk29+UQ==","shasum":"c850f66c8b1d178bd6c2e800f5247b13e614eb3b","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.7.2.tgz","fileCount":11,"unpackedSize":344094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx4H5CRA9TVsSAnZWagAAsVwQAI5Xiaosva5oJDXATOXK\n2b4SVyKILECj+OEIU9O+LAONB5W5AvxjH2RmHHniPNZjVPU8sdfC+W3Z/B1O\nBLjUurm89PlaPsIbvze9bN4r7sa85kNYwU6nIo2bd7aTULUHacrnrg09uxQM\nAKmmCZeKIJ8VxJDJQ9Tqv5Yl+yP4xNhiS8DUa3JaV4DAYgU72OBtkG48E/k7\nmxU+z9CQHne6uAohHbkU+EcjlGYXiklKsPvZJ6bQ3dLRgIfr80adycD8dan/\n4xpnrwGq1ha5jvurxHFhX0d7v4QZjiwbB853XqKRvOXfmIZjw/fuCO4+HtdK\n6hzf9izhsSZqkMnNextKeZ5HKgul5OzM4x7vnZxv5cWFpHssI0EzahGcy6I0\n5hCerr3N64JH4dXYxrXz5/LupcLG3Bcy3puKQBPMeEiFxjApX8tgP1O1wI2w\nOujKX+o8mvj652lUol19dDsx00KZZAcFhuNqHFk5YcVlA7q7DaTAbCgO5Tg4\nA9gDYeDlkX25FfK/H5dJZhbESa32BmGYJSNewHm9L0SiyPz6zApJBKDnjDSP\ncSMsH/2FSE7mk8AEnp6WyU31HwsoBBO96lAmdNasz+OIqbHoYCyDoq7ZTosa\nYtt4cfA/Sebd95GCYHnoYWFlkEAR7Ze0lYx/68YrA9m69X635UdDt2XiWQmC\n3zFb\r\n=Z/1q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL6Iog1KJ+sqWSYu46ZJpOClh1dkEQ/FC2AGH4LwSbOgIgAQ8nJFAMR0U4DmjpcT0Y91FOB8s2M1tGZpkDmOwI0HE="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.7.2_1539801591663_0.8467419638559333"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.7.3":{"name":"ldclient-js","version":"2.7.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"Base64":"1.0.1","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"47db0f2c674bb3d6e4cc0c26b2d9d93001557321","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.7.3","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-Z2bwTFz4BOa2hlnY2vuf3c3/MAuSlUkb3ZXd+B+aYV2M1GyGbEGSHanS0OEFfKlV/w8N5PtZBU42EL5KSkFkbw==","shasum":"1ebb80500725a3124a11dd327911cb12e669b045","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.7.3.tgz","fileCount":11,"unpackedSize":347333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5gQUCRA9TVsSAnZWagAAlnQP/1BMutQbyqqz1yOBxVK0\nF4sFrxo2Jo0rdlLp1i8r8SKhjIp+nw1u+YvaVixaCSy/slpd50ik23m8XxQ0\nzDcdJyYNXTmKc56g9ruIghU24TGPENN0ugu3thucHJ2372TOh+RTfSJYQnvN\nGh6gzrcqj4cw5JJgsac0y+npVefWhDwzsdMrqzGRz+VoowKidAwXMXh0iMRs\nTaKDkuHHbNZ2rHa2Kiavyu/IKLRnWhssqQ/VO/kO072z3z9uAz+ZjTOszxCG\nAO6TzkrTsg0HCJ+eMLjL2lwC9Fsuug7qsz5le1AHag/x7guYQhCVydIErZVr\nIwnU+dlNyNx/gfb4fjwGbO7eAJxej0x0FQyw58OKeCYP6FKS2vor1RxTJhZR\n60nUae4MQfrzuIrqYmQYJUecMZ3Z/92TGxRwbckTdbJkx4Mp0isqrSSuAEgg\nO58Of+Ja8hy4kdCxjXYpeeUDqfKOpFfH2mKYmNjfOfTJBPmRXEF9WUOaPM2u\nBsMLdo3rJKWWMZqu5CvyUPZjsXREBkXnRgOfuOvrERs4PRifxHp247y4aXC/\nCEo4G8mxE9i2S+UzVOrxfe2SfrNHBwohpIWgsrq0rAdzjAmQXWSKcXwtvxfi\nRUA7m0C0iZK1krbpGYqMKd2N+wUog7P6/JqEz7CjFGxGKnX0J4hh/9NxKOTE\n00O+\r\n=wkYO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5rXarrNi3jiBQfd0T9SL7ThOUJh88q6GKgZVtjX4ssAiEAtrlIRGjrYbdDQXn0sqrD6pNSOLTkaHyNMjKB8cFCX94="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.7.3_1541800980030_0.933983180202641"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.7.5":{"name":"ldclient-js","version":"2.7.5","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"base64-js":"1.3.0","escape-string-regexp":"1.0.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"b302bfb7a3d56d8f234670ea17c2041ca605cd8d","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.7.5","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-fHpORxou5mK7Wk90PXxJx01jpG62H9pPeWlMLzUnOFnGxpZuyU7TKlbB/TwL0z6J826Krbdg2vSCt1jkG/ELCQ==","shasum":"eb6cf358f876e8c4a8fa2d59a96e110021e6b706","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.7.5.tgz","fileCount":11,"unpackedSize":357285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9giuCRA9TVsSAnZWagAARkUP/RUkvDFl+yDOmI4aIflb\nbRXZIGy/MQVlv9GBHuex7UesNLOvAdqx7ELK5ROMrK2CUf/Iak+XP4HXScBu\n+amNY8H5NB7WsmDF1cR+8Qx5qXJAdLb4lHb6qqhuIwgEvXwDPmpGiXdGwUP7\nwFUix9jVF5TnFZIkEIJqIV7PJF4bsShwI/NKzNOXQoQ/RkHkWGVEKiICrG4t\nckIfbnqiG6RoessEz+NlWL2O6FvBHObK4Cjqayl0tmwTmI1ETIK7CfL/7K9y\nG+pTmYJoYHhdRXbgvV69X2Z1ScnHvGfo4M8venqS9uTcFMvh0109Hxzl5oqs\nC+tXF32CP/0/7RP1Ti9NLSTREuFjQciId/9sV2EDNk/YawIFZQ7ucAeTzSGX\ns0sRTJNk5nz60HVyt44IYRJFvWM1/jC8NPS5KfEzwwkA22WP27z6pDO2OKwA\nKVJuH+yFKZbg/7DCeOHpql1xbBcAgYk/qxE5nPTU7uKGD1DTXp4HEvv7rfUI\nXwxyy3ahgd0QNXRWdFTc2T9z7Ogim/ajfmlPms3sjaG6v+BzeQjcpIczuf1i\n04AEA/2hp3EvOGhEzrYS3qqFL0zKp3ujtXd9H3kwKSC10UjImT9yDGBsNjZK\n3SEEBiF/TModg4Z05TE8BTghFgy6BpDhxakE6tI+AqNE9yCbreNUCA1G75Ii\nc2Z2\r\n=Jmwc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6qpUj/ZW4umfq63JuoPFmxC+OLyhZSCuQLcBlK+PcwAiAj8+rjp2XnxmLtCZUcFpca1Plx3mXO053FBOBT3X5saA=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.7.5_1542850733541_0.5054195145996583"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.8.0":{"name":"ldclient-js","version":"2.8.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty'","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --write '*.md'","format:js":"prettier --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --list-different '*.md'","format:test:js":"prettier --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","build:watch":"cross-env npm run build -- -w","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","babel-preset-env":"1.6.1","babel-preset-stage-1":"6.24.1","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","rollup-plugin-babel":"3.0.3","rollup-plugin-commonjs":"9.1.0","rollup-plugin-filesize":"1.5.0","rollup-plugin-includepaths":"0.2.2","rollup-plugin-node-builtins":"2.1.2","rollup-plugin-node-globals":"1.2.0","rollup-plugin-node-resolve":"3.3.0","rollup-plugin-replace":"2.0.0","rollup-plugin-uglify":"3.0.0","rollup-watch":"4.3.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"base64-js":"1.3.0","escape-string-regexp":"1.0.5","fast-deep-equal":"2.0.1"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"gitHead":"ad5b5a12db643cf97bbab47adc645959b465fb1e","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.8.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-PaWEUlWMMn0vH9or6b6TrBLuyVuvQpMBAGB158j7RBK8FC+HvymQpKLIYWUh/GvbktA0OLBD4xXc9If0um7E8Q==","shasum":"ed1a1bc6999cb3aa2cb6dd5d6e11e2b5b0f031cb","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.8.0.tgz","fileCount":11,"unpackedSize":377139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBbvECRA9TVsSAnZWagAAuUQP/0lpROz0HpMfIuxVyUat\npqBXFEF6mFLbWMKSlpYun0mzuZp2Qd2hMGcjUrvUacvKb8RIGoZT5vjfV8D8\np+HFOqXxIVHmzXPHG7gFbs8/0RtF3VqrZlPS2OBBeJFa0VbBpAsMMXebHLv3\nzHEBHYcfzl67ZNIYVJ5ePvxGTeRz+Cmk/pVcgQOxe239Kes5M5FgE8FxuUGC\nYw2ty+adwd/WtuXa6PRyQIKK3o4lbcq9hJN/1TUisQgl8v20zIUioKiAjhXR\nb/qe8I5pGWUD6CHcyLnaNQNOFAei6pAxDZJletod16X9WFKj0NpjG+gYyfkP\nC+jTqCKC133/jE0cqmmaQYAjSdEUC+6lK7NoGZKtRLwYmxAJayf05NrPFY+/\ni6JytTSSS5uEpJ1170xFwVkNZutpSaKYft+wVMPIvvKU+sxQiWTAyx2iZueQ\nT/xvJHySlyYxTRkJ+CSbbmVY5hZwcDqi1Nme9SgychjNpqelzXmlYw9oDJog\nBVuscyGB1/P0YJnQ0kDLS8SCDBQwd6GvVujyVNQEuOxC9E3KCDfS/mzyiVdL\n7awb3qcuUUvBJr4RStou/bDHS1l9t5cYhUxSLG+2x613RwdEz6Rjx7WkIYPV\nm41videP6va0aGgt99RYPQ/HsYYK+fo3uYQBYjveR+TXu5q7vYoZzqil+5rn\nDcBq\r\n=8ME0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnQ90p5B20nZL0XVTdsQ9wkRyilS22mGZdJNG1JljhyAiBfOspX2sfT/hOk/IkprrlfSKhxVRnW12hZAtT3YHmO7Q=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.8.0_1543879619090_0.3085183786115697"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.0-alpha.1":{"name":"ldclient-js","version":"2.9.0-alpha.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.0-alpha.1"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly Javascript SDK for Browsers\n\n## Introduction\n\nThis document describes how to set up the LaunchDarkly client-side JavaScript SDK to be used on a web page. Please see the [main readme](../../README.md) for a more general description of the client-side SDKs.\n\n## Browser compatibility\n\nThe SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even when `client.on('change')` is called.\n\n## Installation\n\nIt can be installed in two ways:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Browser feature support\n\nWeb browsers vary widely in their support of specific features and standards. Three features that are used by the LaunchDarkly SDK that may not be available on every browser are `EventSource`, `document.querySelectorAll()`, and `Promise`. See below for more about how to ensure that these will work.\n\n### EventSource\n\nThe SDK uses [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) to provide a live streaming connection to LaunchDarkly, if you have enabled streaming (by using the `streaming` property or the `setStreaming` method, or by subscribing to `change` events). If you never enable streaming, `EventSource` is not used.\n\nIt is widely available in browsers, [except for Internet Explorer and Microsoft Edge](https://caniuse.com/#search=EventSource). If you wish to support these, and you need streaming support, you can install a polyfill such as [event-source-polyfill](https://github.com/Yaffle/EventSource).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/event-source-polyfill@0.0.12/src/eventsource.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install event-source-polyfill@0.0.12\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('event-source-polyfill');\n\n### Document.querySelectorAll() polyfill\n\nThe SDK uses `querySelectorAll` to support click events for A/B testing.\n\nIt is widely available in browser, [except in old versions of Internet Explorer](https://caniuse.com/#feat=queryselector). If you wish to support these, and you need A/B testing support, you can install a polyfill such as [polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/polyfill-queryselector@1.0.2/querySelector.js\"></script>\n\n#### NPM or Yarn\n\n    npm install polyfill-queryselector@1.0.2\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('polyfill-queryselector');\n\n### Promise polyfill\n\nThe SDK relies heavily on JavaScript `Promise`s. [Browsers that do not support `Promise`](https://caniuse.com/#search=Promise) include Internet Explorer and older versions of Microsoft Edge. If you need to support these, you will need to install a polyfill for `Promise`, such as [es6-promise](https://github.com/stefanpenner/es6-promise).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/es6-promise@4.2.4/dist/es6-promise.auto.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install es6-promise@4.2.4\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('es6-promise/auto');\n\n## Functionality specific to the browser SDK\n\nThis section describes features that only work in a browser context, as opposed to general features like flag evaluation that are described in the [main readme](../../README.md).\n\n### Bootstrapping from the server side\n\nThe [bootstrapping](../../README.md#Bootstrapping) mechanism lets you provide initial feature flag values at startup time. In a web application, a common approach is for your back-end application code to obtain flag values from its own server-side SDK and then pass them to the front end.\n\nLaunchDarkly's server-side SDKs have a function called `allFlagsState`, which returns a snapshot of the feature flags for a particular user. This data structure can be passed directly to the `bootstrap` property of the front-end client; you will also want to pass the user properties. Here's an example of how this might be done if you are using Node.js, Express, and Mustache templates on the back end.\n\n```js\n// in the back-end code:\napp.get('/page', function(req, res) {\n  var user = { key: 'example-user' };\n  client.allFlagsState(user, function(flagsData) {\n    templateVars = {\n      user: user,\n      allFlags: flagsData\n    };\n    res.render('myPage', templateVars);\n  });\n});\n\n// in a script within the page template:\nvar user = {{ user }};\nvar clientOptions = {\n  bootstrap: {{ allFlags }}\n};\nvar client = ldclient.initialize('YOUR_CLIENT_SIDE_ID', user, clientOptions);\n```\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and that one user cannot inspect the settings for another user. Secure mode works by having you include a server-generated HMAC SHA256 hash of your user key, signed with the SDK key for your environment.\n\nYou can enable secure mode for each environment on your [account settings page](https://app.launchdarkly.com/settings#/projects). You should send the computed hash for your user in the `options` array during client initialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash for a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your account settings page. Then, compute an HMAC SHA256 hash of your user key, using your SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\nIf you change the user context dynamically with `identify()`, you can provide a new secure mode hash at the same time:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\n### Click and pageview events\n\nIf you've defined [click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests) in LaunchDarkly, they'll be sent automatically once the client has been initialized. You do not have to do anything else with the client to send click or pageview goals.\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by changing the URL hash fragment), and will trigger pageview and click events correctly.\n\n### Custom events\n\nCustom events sent with the `track` method are treated slightly differently by the browser SDK: the client normally expects that the event key you pass to `track` corresponds to one of your custom goals. You can still send custom events whose keys do not correspond to a goal, but the client will log a warning if you do.\n\n### Do Not Track\n\nIn browsers that have a \"do not track\" option, the LaunchDarkly SDK will not attempt to send any analytics events if this option is set.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.0-alpha.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-9vBLYjb1Yw5Vea8apwhnqQyKC1MmQXSvybWSJxMWOiqtgvLJfgQbo0Z5dluaTuJN8Cgy5J/h5PCXVbpvElij2A==","shasum":"f4fb804bdcabb2164e89232fced712ab3ff65212","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.0-alpha.1.tgz","fileCount":10,"unpackedSize":298208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBdofCRA9TVsSAnZWagAAKGQP/RvJHXd2hFxhcjMGAA2X\nfMPVF2x4lhJug7ZstifGbYk5YR1zWB+AKm/D+OUsU+8UeBP1gzOwInqxSTQR\n0qaTaJPik8g05DT1RuvNEpOFWDzEXIGQwZJUv/nQRUFJQrur1C1Mr5bbGAkM\nBNPe2NsX+1RSzMMoz7bt9vZ7hjim4f+wyGtlOrqzaNmODllX7UG78jeSMPu2\n9eXh7Z/Fkcflfw7D3HGKoAzwvQlXtnbt7tZcB6rDbsN6QQo8v6oTSEbMKTJY\n39bRqswyvLUmPL+aDh6PWiUo7K1ISWPIP7EsWTFBAP6CvuLxWb4yz3I/C/v5\n2hR32fS17rjNaDcGN3RviTQlBqUYH9owTpE1CjDXCKM9CZfYliVh0ca5AXZH\n2xAIpewBw6JY7h6Uy6r4nu3sfT1i2a4Fckms3trfstxiY6q2fcMyVBfwdoq0\noezV4/yNtK4qz1oqVOvrDqS/C43qKvrdlwP2+b3bUteuYEfP/lSYhpqjWQWb\nyfOxi6zF1JI/j1e9Q11Zqr8ADlb1DxR9Ho8T5zkOEGuNaGyiF5ATAhqWsN5R\nnaOH3tVEfykZcz28/US75YhXIXjK++Q8HkOA3RJGXGYXkYr50lNCY7lzUG14\nG+LjDbFo26r0q9XJ80yXP00mC0/qU5n6r6BUsingjg5OdRK2hqvEuWTy0WUr\nQc6q\r\n=O37E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7/0yIWbxjyDQNby7XZCzs8+I0xgD8W7ZJqBBRSoDGowIgDE6dP5jPfDYUTcXNV/xRf0Rxr0J0negtrr1R18TzeiY="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.0-alpha.1_1543887390393_0.4549831431056368"},"_hasShrinkwrap":false},"2.9.0-alpha.2":{"name":"ldclient-js","version":"2.9.0-alpha.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.0-alpha.2"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly Javascript SDK for Browsers\n\n## Introduction\n\nThis document describes how to set up the LaunchDarkly client-side JavaScript SDK to be used on a web page. Please see the [main readme](../../README.md) for a more general description of the client-side SDKs.\n\n## Browser compatibility\n\nThe SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even when `client.on('change')` is called.\n\n## Installation\n\nIt can be installed in two ways:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Browser feature support\n\nWeb browsers vary widely in their support of specific features and standards. Three features that are used by the LaunchDarkly SDK that may not be available on every browser are `EventSource`, `document.querySelectorAll()`, and `Promise`. See below for more about how to ensure that these will work.\n\n### EventSource\n\nThe SDK uses [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) to provide a live streaming connection to LaunchDarkly, if you have enabled streaming (by using the `streaming` property or the `setStreaming` method, or by subscribing to `change` events). If you never enable streaming, `EventSource` is not used.\n\nIt is widely available in browsers, [except for Internet Explorer and Microsoft Edge](https://caniuse.com/#search=EventSource). If you wish to support these, and you need streaming support, you can install a polyfill such as [event-source-polyfill](https://github.com/Yaffle/EventSource).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/event-source-polyfill@0.0.12/src/eventsource.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install event-source-polyfill@0.0.12\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('event-source-polyfill');\n\n### Document.querySelectorAll() polyfill\n\nThe SDK uses `querySelectorAll` to support click events for A/B testing.\n\nIt is widely available in browser, [except in old versions of Internet Explorer](https://caniuse.com/#feat=queryselector). If you wish to support these, and you need A/B testing support, you can install a polyfill such as [polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/polyfill-queryselector@1.0.2/querySelector.js\"></script>\n\n#### NPM or Yarn\n\n    npm install polyfill-queryselector@1.0.2\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('polyfill-queryselector');\n\n### Promise polyfill\n\nThe SDK relies heavily on JavaScript `Promise`s. [Browsers that do not support `Promise`](https://caniuse.com/#search=Promise) include Internet Explorer and older versions of Microsoft Edge. If you need to support these, you will need to install a polyfill for `Promise`, such as [es6-promise](https://github.com/stefanpenner/es6-promise).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/es6-promise@4.2.4/dist/es6-promise.auto.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install es6-promise@4.2.4\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('es6-promise/auto');\n\n## Functionality specific to the browser SDK\n\nThis section describes features that only work in a browser context, as opposed to general features like flag evaluation that are described in the [main readme](../../README.md).\n\n### Bootstrapping from the server side\n\nThe [bootstrapping](../../README.md#Bootstrapping) mechanism lets you provide initial feature flag values at startup time. In a web application, a common approach is for your back-end application code to obtain flag values from its own server-side SDK and then pass them to the front end.\n\nLaunchDarkly's server-side SDKs have a function called `allFlagsState`, which returns a snapshot of the feature flags for a particular user. This data structure can be passed directly to the `bootstrap` property of the front-end client; you will also want to pass the user properties. Here's an example of how this might be done if you are using Node.js, Express, and Mustache templates on the back end.\n\n```js\n// in the back-end code:\napp.get('/page', function(req, res) {\n  var user = { key: 'example-user' };\n  client.allFlagsState(user, function(flagsData) {\n    templateVars = {\n      user: user,\n      allFlags: flagsData\n    };\n    res.render('myPage', templateVars);\n  });\n});\n\n// in a script within the page template:\nvar user = {{ user }};\nvar clientOptions = {\n  bootstrap: {{ allFlags }}\n};\nvar client = ldclient.initialize('YOUR_CLIENT_SIDE_ID', user, clientOptions);\n```\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and that one user cannot inspect the settings for another user. Secure mode works by having you include a server-generated HMAC SHA256 hash of your user key, signed with the SDK key for your environment.\n\nYou can enable secure mode for each environment on your [account settings page](https://app.launchdarkly.com/settings#/projects). You should send the computed hash for your user in the `options` array during client initialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash for a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your account settings page. Then, compute an HMAC SHA256 hash of your user key, using your SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\nIf you change the user context dynamically with `identify()`, you can provide a new secure mode hash at the same time:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\n### Click and pageview events\n\nIf you've defined [click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests) in LaunchDarkly, they'll be sent automatically once the client has been initialized. You do not have to do anything else with the client to send click or pageview goals.\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by changing the URL hash fragment), and will trigger pageview and click events correctly.\n\n### Custom events\n\nCustom events sent with the `track` method are treated slightly differently by the browser SDK: the client normally expects that the event key you pass to `track` corresponds to one of your custom goals. You can still send custom events whose keys do not correspond to a goal, but the client will log a warning if you do.\n\n### Do Not Track\n\nIn browsers that have a \"do not track\" option, the LaunchDarkly SDK will not attempt to send any analytics events if this option is set.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.0-alpha.2","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-NWpzXDZWmS22uvmXiQ93NSqcbwVIeE71PIO30hAknRteMYw3AYAEaqhr9MjE+FxKC52K68SO+LbZ1nYHfxgaPw==","shasum":"9fd8a08eb762b7a236f7a112f41aae689f3d2036","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.0-alpha.2.tgz","fileCount":10,"unpackedSize":298208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCDUbCRA9TVsSAnZWagAAsecQAID2QUjjkA7NpMDJh1XS\n2FHPkrmuqYwPBKFZRmB1yiSqeVdQKS1LLY9CgXlCJyFyRyuPcsDvpNayD9mc\nsczoCzCZVkvExrnu7hiS/ZD8qsK7qZW8hBwV2v6vTXT3SDAuJmZ2XDfGq4lT\neKFJ705f7g5ckyPyGuZOAKBOzZLuILakyA7U4plYs4IgzKJ10wpAusHHUnqb\npPQRWsCb4k6k4BxPATqkk5tb1IiZPCZ/0WydiD3jgQzYiEKYjc3B4Z6JqhJ1\nmli95R83LkAy+sf4GkCQpSFS4ST7G3IRUW4tUjIobVdHBbl4/rhIu/lfyYgb\n60qe0AAtm08Mik9GmLdmNQefRQGdKuLX6+Ef1LV+qaHpsOVM60B34d6RbSiA\nzxqFBK9uy/c4Slo+mLXS5RgrxQnagxWFijzc9BHmMEL41HpewjE+OtaBFTTY\nRlNsqEwh/2OxYuxos7u/kao78aL+OG9+FkY7CwhCUS22P5Qn0ubparclxo50\nxaV2hFJP6vqUeC4zd9gkpOOfyyTNiYBNNbU336EZzLssYqSNQBTdKr+hx5Ro\n5LfnbLu9PG06LGiALWHc5zltka4cUf839oIG5EhRe1psgmxYxnbxXftwUMxj\newze7/r+j6LCEziBUJZV7/SBEdikhgsox1myxYTL9WhTZy12QsfmPVNZe0GI\n4TeL\r\n=tyQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJv8t91AySh3PJa7OJQibi5IcFEvXA40MGmDQe2C6uzQIgS2nHVYpIooE0sb54CQBQ4x8bDy2CpBy0CYnenb36CJc="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.0-alpha.2_1544041754424_0.8763406186631844"},"_hasShrinkwrap":false},"2.9.0-beta.1":{"name":"ldclient-js","version":"2.9.0-beta.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.0-beta.1"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"readme":"# LaunchDarkly JavaScript SDK for Browsers\n\n# This is a beta release\n\nThis version of the client-side SDKs includes the initial beta version of the Electron SDK, and also includes changes to the JavaScript SDK for browsers. The beta version should not be used in production environments. The source code for this version is on the [\"`electron`\" branch](https://github.com/launchdarkly/js-client/tree/electron) of the public repository.\n\n## Introduction\n\nThis document describes how to set up the LaunchDarkly client-side JavaScript SDK to be used on a web page. Please see the [main readme](../../README.md) for a more general description of the client-side SDKs.\n\n## Browser compatibility\n\nThe SDK supports the following browsers:\n\n* Chrome (any recent)\n* Firefox (any recent)\n* Safari (any recent)\n* Internet Explorer (IE10+)\\*\n* Edge (any recent)\\*\n* Opera (any recent)\\*\n\n\\* These browsers do not support streaming new flags to connected clients, even when `client.on('change')` is called.\n\n## Installation\n\nIt can be installed in two ways:\n\n1. Via the `npm` package: `npm install --save ldclient-js`\n\n2. A minimized version of the script is also hosted on our CDN, and can be included via a `script` tag:\n\n```\n<script src=\"https://app.launchdarkly.com/snippet/ldclient.min.js\">\n```\n\n## Browser feature support\n\nWeb browsers vary widely in their support of specific features and standards. Three features that are used by the LaunchDarkly SDK that may not be available on every browser are `EventSource`, `document.querySelectorAll()`, and `Promise`. See below for more about how to ensure that these will work.\n\n### EventSource\n\nThe SDK uses [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) to provide a live streaming connection to LaunchDarkly, if you have enabled streaming (by using the `streaming` property or the `setStreaming` method, or by subscribing to `change` events). If you never enable streaming, `EventSource` is not used.\n\nIt is widely available in browsers, [except for Internet Explorer and Microsoft Edge](https://caniuse.com/#search=EventSource). If you wish to support these, and you need streaming support, you can install a polyfill such as [event-source-polyfill](https://github.com/Yaffle/EventSource).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/event-source-polyfill@0.0.12/src/eventsource.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install event-source-polyfill@0.0.12\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('event-source-polyfill');\n\n### Document.querySelectorAll() polyfill\n\nThe SDK uses `querySelectorAll` to support click events for A/B testing.\n\nIt is widely available in browser, [except in old versions of Internet Explorer](https://caniuse.com/#feat=queryselector). If you wish to support these, and you need A/B testing support, you can install a polyfill such as [polyfill-queryselector](https://github.com/cobbdb/polyfill-queryselector).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/polyfill-queryselector@1.0.2/querySelector.js\"></script>\n\n#### NPM or Yarn\n\n    npm install polyfill-queryselector@1.0.2\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('polyfill-queryselector');\n\n### Promise polyfill\n\nThe SDK relies heavily on JavaScript `Promise`s. [Browsers that do not support `Promise`](https://caniuse.com/#search=Promise) include Internet Explorer and older versions of Microsoft Edge. If you need to support these, you will need to install a polyfill for `Promise`, such as [es6-promise](https://github.com/stefanpenner/es6-promise).\n\n#### CDN\n\nYou can load the polyfill via a script tag in the `<head>` before the script where you initialize `LDClient`:\n\n    <script src=\"https://unpkg.com/es6-promise@4.2.4/dist/es6-promise.auto.min.js\"></script>\n\n#### NPM or Yarn\n\n    npm install es6-promise@4.2.4\n\nThen import it before the module that initializes the LaunchDarkly client:\n\n    require('es6-promise/auto');\n\n## Functionality specific to the browser SDK\n\nThis section describes features that only work in a browser context, as opposed to general features like flag evaluation that are described in the [main readme](../../README.md).\n\n### Bootstrapping from the server side\n\nThe [bootstrapping](../../README.md#Bootstrapping) mechanism lets you provide initial feature flag values at startup time. In a web application, a common approach is for your back-end application code to obtain flag values from its own server-side SDK and then pass them to the front end.\n\nLaunchDarkly's server-side SDKs have a function called `allFlagsState`, which returns a snapshot of the feature flags for a particular user. This data structure can be passed directly to the `bootstrap` property of the front-end client; you will also want to pass the user properties. Here's an example of how this might be done if you are using Node.js, Express, and Mustache templates on the back end.\n\n```js\n// in the back-end code:\napp.get('/page', function(req, res) {\n  var user = { key: 'example-user' };\n  client.allFlagsState(user, function(flagsData) {\n    templateVars = {\n      user: user,\n      allFlags: flagsData\n    };\n    res.render('myPage', templateVars);\n  });\n});\n\n// in a script within the page template:\nvar user = {{ user }};\nvar clientOptions = {\n  bootstrap: {{ allFlags }}\n};\nvar client = ldclient.initialize('YOUR_CLIENT_SIDE_ID', user, clientOptions);\n```\n\n### Secure mode\n\nSecure mode ensures that feature flag settings for a user are kept private, and that one user cannot inspect the settings for another user. Secure mode works by having you include a server-generated HMAC SHA256 hash of your user key, signed with the SDK key for your environment.\n\nYou can enable secure mode for each environment on your [account settings page](https://app.launchdarkly.com/settings#/projects). You should send the computed hash for your user in the `options` array during client initialization:\n\n```js\nvar user = { key: 'user.example.com' };\nvar client = LDClient.initialize(\n  'YOUR_CLIENT_SIDE_ID',\n  user,\n  (options = {\n    hash: 'SERVER_GENERATED_HASH',\n  })\n);\n```\n\nEach of our server-side SDKs includes a method to compute the secure mode hash for a user. You can pass this to your front-end code in a template. For example:\n\n```js\nvar client = LDClient.initialize('YOUR_CLIENT_SIDE_ID', user, options = {\n       hash: {{ ldclient.secure_mode_hash(user) }} // this is a template directive, and the ldclient instance here is your server-side SDK client\n  });\n```\n\nTo compute the hash yourself, locate the SDK key for your environment on your account settings page. Then, compute an HMAC SHA256 hash of your user key, using your SDK key as a secret. Here's what this would look like in Node.js:\n\n```js\nvar crypto = require('crypto');\nvar hmac = crypto.createHmac('sha256', 'YOUR_SDK_KEY');\nhmac.update('YOUR_USER_KEY');\nhash = hmac.digest('hex');\n```\n\nIf you change the user context dynamically with `identify()`, you can provide a new secure mode hash at the same time:\n\n```js\nclient.identify(newUser, hash, function() {\n  console.log(\"New user's flags available\");\n});\n```\n\n### Click and pageview events\n\nIf you've defined [click or pageview goals](https://docs.launchdarkly.com/docs/running-ab-tests) in LaunchDarkly, they'll be sent automatically once the client has been initialized. You do not have to do anything else with the client to send click or pageview goals.\n\n### Single page apps\n\nThe SDK automatically handles URL changes (made via the HTML5 history API or by changing the URL hash fragment), and will trigger pageview and click events correctly.\n\n### Custom events\n\nCustom events sent with the `track` method are treated slightly differently by the browser SDK: the client normally expects that the event key you pass to `track` corresponds to one of your custom goals. You can still send custom events whose keys do not correspond to a goal, but the client will log a warning if you do.\n\n### Do Not Track\n\nIn browsers that have a \"do not track\" option, the LaunchDarkly SDK will not attempt to send any analytics events if this option is set.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.0-beta.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-t440qvk+M/7ccQ7jq6zc9nNYFvl1tAmo+AadiWg53hcFtrDoZ418em1Xaf+2smwB3AQFqNs2Y4asNbW4DXMdoA==","shasum":"82bbfdb6548336cc175d8fae1843b269e134fba7","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.0-beta.1.tgz","fileCount":10,"unpackedSize":310027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCdOZCRA9TVsSAnZWagAA+tEP/3dYFIe/Aj0uCgQ77IkT\nZK8uLAqffwn8tn5XCr7UH4BrELhbX1OwsinNyH+PMO4Q+QLFEohbFYkwCeib\nge7QWlzdNFkmo+Wx6ym61FI2W+UkBJgoPvtTIum4iAscDRtAkWxsHwBjY69W\nenl0IjujR8FthO7slVa08eJfNanZrMcU3vF0c89WJALDapIsHOFhRnf1PaW5\nzD/bjipnKY6o/QPvvaae+O2uSXq5IEgnVgQBdZGfQlfwDHdadF4oaBS/u9vP\nkupfcJZ9vOyN9nbAQ71cH3a3DFHdr+fTyTrmCyfarEFSERn3bHDOJ0DQD6b3\n3WupFYtv6yci2q+pKBrO6ooYfhvAjCmBZ5sHtpB+IgI/Hv6IsyWqAW2117GS\nqsgk3yxnUp5O57g2MMGvmfMY1g4ewq1d1NSqx/vmfz9wNl/W0pP4zWhYYXiG\nicogqGbCbrOs2fJivpL4Y/qLe2xlFwcqlRQnTF4BsXjTqIUh6zFWYPubwIYp\nGoCcta00xlUuCPZaKIFoSTGE1JFc7o0OsyFOh6h+kuvOhCIFEWO+Zne0/UXQ\nOBhYu+JKA6nW2Lc4fQLfMytRb4lALZRyaWzR2zX4AFWdMvs5r4qUeAVeM0bi\nJVg8SKnCTFG8ZdI16CV+XwOsDrhbQXWvAfCH8CS1IdUShzta0UNbUqJA1L2u\nhE1d\r\n=RXEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWQfg5PiDEl+gt9MmwslAfSsjwqDWKwgEP03dpg5JUtAiEA53QacX3jzsP1bjCSp7d337J3UEVnj5eVIaJ0VgZ/2as="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.0-beta.1_1544147864827_0.16502966414738673"},"_hasShrinkwrap":false},"2.9.0":{"name":"ldclient-js","version":"2.9.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-UmoczYPGrFaU7VYIxoWQehWxCc972bE4gFsveZm05hDqGeQm217vkHNMkFrogUyI5m0CYL0p0Q9nZlJSh/tVYQ==","shasum":"9864d2148857f592022d419bb03d204ea8293725","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.0.tgz","fileCount":10,"unpackedSize":301906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVOiKCRA9TVsSAnZWagAAd8QP/RPXRCylGDSRPhp6MEe6\n4o/iPsszbiCenlGJeqMmudEf3DDwr92swku/ZPNJotc3tLdiotauOIimcpeF\nUTWb8aVBdQypNJV4LdNdZ1Y/7RYWMxN0d4mDC510OiNa/jibHKmU/hoah1Bb\nEl3njaVaQX93b0iXqG5c2UqbPursEA3zoo08klSYGydUiADlJojV1GUsRIQW\nWvdQgwEc0ccKPZUWmC0ud8klqoWjejjFbTfMFwJwnHo8fDR3WifsjTdd/BMo\nwychxAb6OviBAuFDJ75W0VXlr/vn9gGwzxHuahIZlBsDNSViSt36vBnhJCZR\nYeysjaXj4Njf22vj6A76DPa6K4ZEDLGWeb/PI+LE3RSxLhl4GuyEkFJwQRPT\nudm8simql73OkPgfy3990nKBCqOcngzZD2G60v145suUTVxZivFJMCaZCE/9\nXjo4wqnpenTYkASPtvoFV/YBYp775MwcZyg87wIg6hA/3JTMog9RViK9oEOE\nE6YeXzjax/EjcDRL8Pg7Cj3Fts2ra7QsbxPFslk6oC9EAMrzmtzosvxz5x4V\n61aO4/+UZoTV/B3gYq9SfCNeqMUyEtz948kZtlFV+lgN/7A+dj/lezvScf8R\nEynmcJfTUYl8M8rBF/JbGVTYfSMJSXMYmwkA/G7KZ+cv7DhaQRH54P66seJS\nK6a+\r\n=Wpbf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8nzT6RcjaxT5e/aoSRmNzq6ig5GQFjRNQtPWKD/7sdAiAej5h2HStKcWqqEpD6MYsLJdhW3QlzIhlGFluPIybRAA=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.0_1549068425687_0.786413658268547"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.1":{"name":"ldclient-js","version":"2.9.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.1"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-nC5vlv11ZjYp2627EqOC/+sQ7SEiMsjjC1vHyWtx6sQE/WaU79lTb12UYMLlA8lAO01j2XnKnQyARxbUOrSIbA==","shasum":"8b51b40a57dfab5ac9bed488d47b5894988736d0","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.1.tgz","fileCount":10,"unpackedSize":301906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXftDCRA9TVsSAnZWagAAnGMP/0Zkzm0zwIRg98VwMjdT\n11iim068T3p2T0e51PnzmRbSQNrXTKfXAaeIrR0mXcPEG4L8o2MPBGabpDJs\nLivHuAPOlp/sISeSfR5XPm3JNfctoX2ikjyoHVi7Yq1Nz2zyTSbFIJPhMHUG\nl6iUKghLSiAN4GAdnUoaur5cX6+ztYdHocdOc7P8gzRs58AQsUkfuBb7f99I\nqoMnGrt1Gftm5uFNodz6wgWCux4KEx3UeJ539IwETLgb2I6DrI5Vw64rRDoE\nNrclkc7Az208NHQcMel9ApACCrnZDsR2MZ2Va21nAbwHY4eROf3VSpdrBrAZ\nu59rBzGZIc+Mc/Du2IDNBoIV8qdPTwqjfcJTBLHrLsUTX2E2RjzwMJsztKF9\n24b/AJVpKmi/OOIvkjBe8G2OJQp46cjQUo20SpOIQJjdihXvPYtu57y9A5y7\ncFFldy1S9m4ph8Zv+63ZpvdVSQtSMmVWqg7LuArUSgqSeU6j+jV5xUh3dAWU\n14Ung02CMwIc+1DkuuXlvokx+mluO+9r3wnwppxVqWD5dzCDeI7jvh6kAngj\nL+uOYbxl11XGgUZNMq5mpcAJIu9MYMmSzRXfKerVlCwTUrwf1yuJCODzIdW8\nym09a8txNgBKKr8xUdWULoLaFKddTFsWJRb47DFFm4jTHhwGa6ieZoOsc5JU\nHYJw\r\n=R2ee\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQXyluF8DWARWLE5kDLHqxIFcFagigJ+zEQNbQwGLplAIgYQ4hAOov1qkymGttLxLWcG9j/rkwzS8NaWLbxF2SaL8="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.1_1549663042499_0.7726011723240713"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.3":{"name":"ldclient-js","version":"2.9.3","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.3"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-QjvkoL36Nye6AAWtNUqB+fF49w6Cg1YP476mBncSIKxsYPipSKM5GHTEHDu8udHfe+/9LQd34Oup0Bfl+molDw==","shasum":"7d592f2f347ab119120305eeac374ca37a6c9048","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.3.tgz","fileCount":10,"unpackedSize":303764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcY3wcCRA9TVsSAnZWagAAat8P/iug/2LrbLFjGeq2E6H/\nydwaLe9Q9TDOrjK/7PV29yQt39EUDuYTLMZoh3a6PMsYJuwwPtkqIJoNxfdP\n7F9XbDfnjzvKCNXqAk+a7Pvbn7/ZfYEnXT58WUt3CQHKQTuRxEnv3QbDHO9C\nmrOU6MfC6BYCtukU3/x6jlhXkMh5uFGbjLC/aKaRJvesvEv9hXstX9xrYse3\n+Zp9atR3pE/lkNi+6BgCgql0gMDAq5Czm7VVc+wcgr/ooLr4pD5AsHIHu1VJ\nUmburLwyjTPsnI8VKwrkzmhHmzfrFBe5kdmgnz9v0QEVFdWKfLXM8qQndIhB\no7fCmOkb4kNEngeVyEEh+uaRK5R5n+ICIACjovBse5ZOUc/5DLwsLk1bVNNy\nUlyel4ABw/zFCH0lKzLTnzQsWQyDSj9rYielX1l+HfC+VOw0xAzGt3+xcppR\nwDpUTD1BJQg3UhQ2URkq5P07FH6okY40TiCE95krsLl87VP7oLh+uoGkudDf\njLclqCAxVhn7gWsXSWS1XOD1n2uYZP9jydDUtypPtOuQwpKjwD6wXk/WmM2B\nyBIFXJA3dGKRwn60EFNO9vpfGLVdc+VeZSi/8+YTjEWNtnSrA3U0CgnqiAPJ\nDMNcit5meg9YykFWHDPGOhiWVrcqhSJKx7EUG/C10XQpa+Sh2x4MoO1lrIYe\njuff\r\n=478M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkWBq3yL6KXiCxzYImm8xuiK/+4rqV3NoB8vpnxgzeJAiBy01xd3QbryKhleJxXQpbwLydy6Ewm61cqUxcAPCj7SA=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.3_1550023708278_0.11259886389374896"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.4":{"name":"ldclient-js","version":"2.9.4","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"NODE_ENV=test jest","test:junit":"NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"22.4.3","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"22.4.3","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"4.5.0","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.4"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-BobLN6DJiZQaLjTuXKGU7IkxjaM8ib5ng1ulXZq0Hp2Lu5jwlbR8/UJWPP1KW1oYgQLmmzpy9qMhuUMV+K9OUw==","shasum":"38965d52520eb678f4dfccbb73c1b0babab534af","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.4.tgz","fileCount":10,"unpackedSize":300152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccJzuCRA9TVsSAnZWagAADiEP/2E9e6VyLbT9+M63oIXp\nIPAA4B207Fm6r0hoexnZZyKlxtdknZoOnl/nlz696fu9ns4RIIGPIs5Ysa5I\nvNEHCgYjllOic4ZY0mDJG2R1oNDmbAa4YzNRz+O8UQ0oBWe/A8EizLPDJzPK\nk4tFr0RmfY6SWqENWRrzfyRvnJOL8RUWlSzxiMulGK7VnI+XQTvA97UzodZB\nX2ZphxzQaAMKsUkTPAh/Kv8BMBowqCO+Nr40N0jkX1TgBsoo3lTtP6IYFRMX\n0MrjswpJBPzGvculnMz2TF6ok9KPp2kMyZe0ChV/D+zyCik0AsFPD59IWyuI\n+bZ1Nv1d36wGE+Wa3IyiVsIju10sKy/fc4pVUeWBSwfIsrISN/2IWC6fXech\nzHOcYSaGMjq+qGGbAmCZbHGsDAybCiik0kGnsYVpV1A1/B0UlZPDjfdpMekR\ni++pEvqLVq4NA8LDQ+yz1BSFHMAkKaNRrhzmVBp+DAvTMEECX5TBNRsVfj8Z\n8nD/rv4ocACcaZ+i9OMWu37ozRz+FMwkYVXXq02BN+AXFQznjL5Mq2OuBnRG\nj22u7CfhlSUBT56tvRdm3arlajA/76sNlWHN7YsiCAi4utyfanNUWHQoIm2c\nBuI9rkZZfOd9p2iId+sJPegwn3Vd/2gAeuPWLcYlaYSi5nyQokYp62P7O3wi\nEn9u\r\n=Vzr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgKLcljrvcn/YOn3gVrOFoGjkhPwiGpeFYqMFxFUF/PAiEAlHQvOwl7MZkDnjZEqhEH/13qglK0L4Euk86gPW1J1FY="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.4_1550884078020_0.08335661780262882"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.5":{"name":"ldclient-js","version":"2.9.5","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"cross-env NODE_ENV=test jest","test:junit":"cross-env NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"24.3.1","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"^23.6","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"7.2.7","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.5"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.5","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-VTkVtF5ABWgIKR/mnTnRJOqbSgOAeUd7vSMVdlKWmYh79sGj5cg6RYiw2VpoX0AeG8rRjW9+P4PzByVnmjF8Lg==","shasum":"35dd4499321e09db44044e8c82a2d0fcffeffa26","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.5.tgz","fileCount":10,"unpackedSize":300171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciBSmCRA9TVsSAnZWagAAWxoP/3/ciusZOtnPw4zYY5E8\nQa9CJdwNJfhoGLvsbolM3T8ZhnOIkZJJ5mZ4L5n48N6OqPCBHGRumQrlnKhh\nBGfmO0X3sW0YIt4D4i83BmDaabL26w1193IV8te3MVCgg4npJVRrW1TF1vMD\n5amK+EdK9g15lKzCwVocwbN41NDvzQLgI82RUWGVtseqK1hITFgqh5PpDyDh\n1Bw/Hg8WNTR0LLCGGx1wXtkFMXq3NYWOtyGTK9dTyyCN4DAo4eStiGnLS3OK\nR523gUup0/C4n8oVYg9NG9XHYzslx3+2sQ8BnvNOwtBd+RQANcP7Yho/DD+S\neD4TlEWb21bq86zUHMnPROOvG9NqM5G7Kkd7ZI4sNT/JVuIyAmHEtyJDNyaq\nhntJgJEKqNSckSP/pNmJTYQKF9ijrCssvgXuqXWgxGt94p69V/l5x2GgLdXx\nEcrufbpC7khk74h6xbs30esIqnndLIQ0VKRHzxSFr8BR+TXpOCvk1Me7XsCw\nnh9BQaAHKutEaV95rjt5sWO05DSiV+p9g4YU8jt13o9uMxH8ASW3IXoWUYm/\nyMJ54k1OXZurMYD272m6jRNjBUrWNAz0dtkp8f4EYrIFl5atvaaSp8uyq3Rk\ng64FbwGrmdqXMlYNlwo5Pjk4xxC2HPRzkHSZEJG6EmhXMysZLKVgkKTniVQJ\nmaHo\r\n=6drJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDumz9Q3YvfZxbWr/u81Z5QsoFKdVtxAJZJCu4yv/0IQgIhAPLZtmqmi44jiWr+V3plwqhvGvOdM6eAFlQXDSqBfIb0"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.5_1552422054280_0.11420742645136106"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.9.7":{"name":"ldclient-js","version":"2.9.7","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"cross-env NODE_ENV=test jest","test:junit":"cross-env NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"24.3.1","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"^23.6","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"7.2.7","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.9.7"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.9.7","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-+bEAiftfczzRzeLKX2ca/gKiAVF0AIK5St3SYdwzvtaaujPNaRCoXcpR3xBaEA9G3e5z9wVhKG50l31iNoLuDA==","shasum":"5960bd09c165be2048de29d72a09fa04daff2ce4","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.9.7.tgz","fileCount":10,"unpackedSize":304128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctnkmCRA9TVsSAnZWagAAKDEP/ivkpAw7rC0tL45PAwbO\nECvVPLNBqwZ9mpnqFoYkJG0uwsQUKlQxgKR6oDPfZ/Rxare+zaaT8yp9Octu\nOeBmReIexKJihurJ8r28sEuZH9Iv2fO1KdMx0ahC/et+Y4Od5zgF9YbnPP+t\nlAXQk6ZW319u7CwIOetcmDrQ20St8hIco48HUEH7LUyI2avX5M090DjhDZRY\nuyjuQ4VbwabvydpEthTrGtYXq+jlRytz2yAwcXKwBdn52KiuH8mPwqR1R2pe\ntf64A8+OhHXVVO5eY3bXts6N+R4pyWM+g3JPsv4yajac1WtQWJo0i4jtcW8p\nAYXvKnENeFEBbF2j3qY6y6HC8HPqBiybiRHdFBNaFB5x5QsvJUVQwstjHgXK\nRIKnmzaFpo3F9+4QGg2Eq+Y6nUzoGeBc0GQ/TLxuwKP0SMmIm0tItlfR/ANQ\nVy0EFZcTagYIBQYSGNDjyj+frmc5SXfv2qBfvM4XqyTy8DXRrtkwdzqAYjge\nkILHCQ3gWbZQQpp0Kp0xE3qbesbTbQ2Z9QZhOxW03x7BF4tH+jYCWi7AP7tL\nKI2CaI5O/6xBErsnzX8hjiBXwstlOF7akl3PefXVNtMJHMoMO6aCJe5tv44h\nryezb/W6Q9lsWL5qc7ZkqvET40KaWb3g+1XfheXR6lLxf/0CvLZsMxSMurdL\nAGKF\r\n=ZEav\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOB0rjfy86eYdat6IvZGQeo5S0zx3KYFw4K0TMVAFKBAiASIFac2XEOKkf3t2MnTFBzfY1375zxiIyUiVeNTGtZ6g=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.9.7_1555462437672_0.42718128957722734"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.10.0":{"name":"ldclient-js","version":"2.10.0","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"cross-env NODE_ENV=test jest","test:junit":"cross-env NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"24.3.1","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"^23.6","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"7.2.7","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.10.0"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.10.0","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-VNJff+olu6RkkiIq4Cu7nUsrSiBdk0OrBao5Sj7+q4kzU2aEbFu4Krddat0Bvzjc65y5WHd3oGOPx2Meln/AZQ==","shasum":"c59bf359f6783ff00fdc0bdac80dfdf52fa2191a","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.10.0.tgz","fileCount":10,"unpackedSize":341836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcumQkCRA9TVsSAnZWagAAYW0P/RymR3Op/UvO6XpWP4hM\nQJGVh1TdpYd4Wpm8dYQ75Byu2rD0S9CHl0Acx+al6b2hHD8zOrHXfoTcJ09j\njgl02iS/CekPbdQFz+CJQ96hlq3eT7MuKOoD5y9tI2ShfJE057PceI9aNTGN\nn+Xu6nX3LCgeWmUlUH4dAbbLGWTFvjTSxMgS/cw84dQz8L5eyHDSrzjCNfm0\nn5SFNly0OS3IjQc1hIUFnyztvGfNIWpnBhuznJ2feBzjgT2ZSASLeQ9KspBb\n2b7FcZsQy047UIfJ0TV65dtS/AUHZMqwWO96MZEuwzZxpqOiSsT0RE3XP7l6\nmbeC5MH26hekQy17eA3/+NWI2jtuxHqYcMs8+RY8HBv/Tq2nUzYAYXZwEv1t\nGyXtN6UcY8oiuTau2TxuT36Cs0rpyUeyP8brDjMKO8NqQjqaqW1WkXV3RAQo\ndTMzFTCBVeket1/Djz8Vdc2gGyYjytpWWE6EycPNZfwCjJsfEUPf1Aq5WEFE\nq6oVOZcY0iLzV3LxVOdPnf5CRNWhEeL38/3R1maiEA+a9ZVz6FaKQAew/Z2W\nBnbtQ81mg2DlDJbwSMIldLt/GH/QmRgPmRLXTnIgSrL3nmY56GuOcsj5DyKC\nuFUFs37g4j+EYfeUQiFW41t2+mkgciDMWsFqPn8lhHCOELBLc5ePVDY+iuXz\nHMer\r\n=qETG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwqme5Bc7Anm8qh1jN4sfVBTP6fEvlTi5S3tp4XD8lFgIgfFB69l+dPlR/wlhPMsg31SSc57J/nN9lqG/l2JFwyZk="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.10.0_1555719203685_0.22043628933171555"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.10.1":{"name":"ldclient-js","version":"2.10.1","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"cross-env NODE_ENV=test jest","test:junit":"cross-env NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"24.3.1","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"^23.6","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"7.2.7","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.10.1"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.10.1","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-O2/ysbNgxg10QMjOUjxHYuUZqvYwrKHPCEoaUCNYeCOc4+rlVQ/Kv3ZuikSiW0eGLIfyxT6WZenRNEvHMzLjGg==","shasum":"3ae324cb387d5695e160c8c78486eb0b5ef0e189","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.10.1.tgz","fileCount":10,"unpackedSize":342088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv2q8CRA9TVsSAnZWagAAFUgP/3fUNqjSKngHUcF3kXDO\nAdYe1s2obb7+O47j/BdExNJUDulT600lLnHM/H1xfJ+8F9vUJlXDGvkfVSoz\nvGzOEJSF92kf3Wc7GnCbErd8aEBFQGB3oh/AXvv4DF67t3pGq7piLQ1vyWTV\n95xRYJ32lfFbp3cV5rzmP8b4N/VR71x6BbKfqhn9IWYBevJE+W2jY6la0FHC\niMehaOUfCkrlIoDLpXv7JhpNvbiWEOWKYbQ5Rc2860QRus0F/skfi80ZFN8V\ng4MELc8Og1YOm53NQOPP+4CY2NVyrUWY7QmHCqcTOKWOyjb7nN1JD8pw2ixD\nvreahgRUH6VIRhqu5t8TdleRbFPgyaqqne+saeZXz8ItcffyrENzvwA85Jhm\nEXyG9ARhx0Hm36ZbgXMZCkOh00nGwqH3b7XJlFqb01/3WUiCcjIdTYY0tb0E\niSA9Fbw43VKJARnXLdVvrAR76imgAdHfYjdtfTn7PriMVgJ6L8GRZXIIyM9S\nRfnrcR6Am9q4k6+iHv2UZz1ugq+pv6Z1gBwbsfK6sLz6jdSs9kw7GddtC7TO\nuslhFvdB23rVgUxvmjNeD0lz6GFTHb0WAHbvrVy8n6uOBjTBtUjZhFbygOqk\nM4PFy7rBt88CG/agQq6eTC7XupQJDHeu0OeEDsQ7AIr4MA2v9SsOMA/O6E5W\nFNoZ\r\n=84k/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxFSNEECB+LA1KuDKQ1uSbO1xhSpTbk9HKctlitIqjxgIhAOdxOWZiTf9iw2YIj30U3L/QfircqDLXfgX+g91q5cNz"}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.10.1_1556048571483_0.6757598863928469"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"},"2.10.2":{"name":"ldclient-js","version":"2.10.2","description":"LaunchDarkly SDK for JavaScript","author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"license":"Apache-2.0","keywords":["launchdarkly","analytics","client"],"types":"./typings.d.ts","main":"dist/ldclient.cjs.js","module":"dist/ldclient.es.js","scripts":{"lint":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore","lint:all":"eslint --format 'node_modules/eslint-formatter-pretty' --ignore-path ../../.eslintignore src","format":"npm run format:md && npm run format:js","format:md":"prettier --parser markdown --ignore-path ../../.prettierignore --write '*.md'","format:js":"prettier --ignore-path ../../.prettierignore --write 'src/**/*.js'","format:test":"npm run format:test:md && npm run format:test:js","format:test:md":"prettier --parser markdown --ignore-path ../../.prettierignore --list-different '*.md'","format:test:js":"prettier --ignore-path ../../.prettierignore --list-different 'src/**/*.js'","build":"cross-env NODE_ENV=development rollup -c rollup.config.js","build:min":"cross-env NODE_ENV=production rollup -c rollup.config.js","test":"cross-env NODE_ENV=test jest","test:junit":"cross-env NODE_ENV=test jest --testResultsProcessor jest-junit","check-typescript":"node_modules/typescript/bin/tsc","clean":"rimraf dist/**","prepublishOnly":"npm run build:min"},"devDependencies":{"babel-core":"6.26.0","babel-eslint":"8.2.2","babel-jest":"24.3.1","babel-polyfill":"6.26.0","chai":"4.1.2","cross-env":"5.1.4","eslint":"4.19.1","eslint-config-prettier":"2.9.0","eslint-config-xo":"0.20.1","eslint-formatter-pretty":"1.3.0","eslint-plugin-babel":"5.0.0","eslint-plugin-prettier":"2.6.0","jest":"^23.6","jest-junit":"3.6.0","jest-localstorage-mock":"2.2.0","jsdom":"11.11.0","prettier":"1.11.1","readline-sync":"1.4.9","rimraf":"2.6.2","rollup":"0.57.1","semver":"5.5.0","semver-compare":"1.0.0","sinon":"7.2.7","typescript":"3.0.1"},"dependencies":{"escape-string-regexp":"1.0.5","ldclient-js-common":"^2.10.2"},"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"homepage":"https://github.com/launchdarkly/js-client#readme","_id":"ldclient-js@2.10.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"launchdarkly","email":"dev@launchdarkly.com"},"dist":{"integrity":"sha512-6SpSbp91jBw+ZRKUPg2E1euegFLpwhD+wvnJhZ9NyXQH6F9jMeTEkB8mB1DlMQOUyU7NF1FNIrmF9y20rKfPXA==","shasum":"7e9a72748aad4ed7be33893105cf3546a14f0d9f","tarball":"https://registry.npmjs.org/ldclient-js/-/ldclient-js-2.10.2.tgz","fileCount":10,"unpackedSize":342334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyj4dCRA9TVsSAnZWagAAQcgQAJU9e7zq1l3mgi82AiMQ\nyUys5qq0rsjFRSkhgBF4QaocDyrLKZ44jeI0woAx9y0J3FbIz9NZoQlyJi6D\nVRWUAv713JHNVHCkZ54jdFXYyek45FqtgMvOpt/ql1dq3isf5AYQ15ReP5sP\nUHSKAsO9Co04YqdGHP1aIQ1VpgxkNwbcI8y5STtOGzVlMuElKrYNKp9fd7Xu\nndvHlgRpjWHhqeYm4pf4wtgpgCYSk0DnTMtXLYim9x5/3jjJiLpFZnnlIeA4\nthifesaKoOUFhUxOugUwTOlHUo9BvIJHWMqW+2OkgYu/zoXz9q4fB9AwxMw8\n5+5BRSCRCVTVtGgqTzwX5LRs+Itn0Uo9NCEHjiLN4bQOkhNqG+mIzEQBwKus\nspvrV9+NBeF2mgSIzRsKNSOh4orblhEcLLohb8tj3LhE84L9zoqD6V7Pe/oT\nNSk2y3P7qp5wBG+J82ni/ZPHWB8ijgEktQVQjRKt5VC2pZfhzc7c8dxBZ5Ab\nYbvVt2/w+3Y8zoJp0IAHk1GZ13pbk4yIyyWX9ibj41dKKs4HUGDvig4J+VyN\nmcr/cAYOrduSiN63K+qTH0nkJu0IwbeEbA/oI6qS1JFPoQtx7/Fzgp/hpIqL\nR0YQmiiV9BVuz9t1r40YxqcWQuY90MLegBAF7FFlJy3z+Yq7JL96H+AxSJd8\neq9u\r\n=6Y0y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEE65cgU7OWGw7biGcI3I2Rz9y48I/gMVhcsJPorBPGAiA0xZsDYlpJ63wvW7cWZiydry36AJ1nZtikd6jRKKnQVA=="}]},"maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ldclient-js_2.10.2_1556758044890_0.8940448947667428"},"_hasShrinkwrap":false,"deprecated":"The new name for this package is launchdarkly-js-client-sdk"}},"readme":"","maintainers":[{"email":"alexis.georges@gmail.com","name":"apucacao"},{"email":"john@launchdarkly.com","name":"jkodumal"},{"email":"dev@launchdarkly.com","name":"launchdarkly"},{"email":"maleko@launchdarkly.com","name":"maleko"},{"email":"pkaeding@launchdarkly.com","name":"pkaeding"}],"time":{"modified":"2022-06-19T11:05:58.286Z","created":"2016-08-09T22:06:10.038Z","1.0.2":"2016-08-09T22:06:10.038Z","1.0.3":"2016-08-10T19:20:21.582Z","1.0.4":"2016-08-12T17:43:35.148Z","1.0.5":"2016-08-22T23:08:56.038Z","1.0.6":"2016-08-26T18:40:12.932Z","1.0.7":"2016-09-06T23:46:48.710Z","1.0.8":"2016-09-09T15:51:54.913Z","1.1.0":"2016-09-14T18:18:10.448Z","1.1.1":"2016-09-21T00:18:46.092Z","1.1.2":"2016-09-21T18:25:28.524Z","1.1.3":"2016-10-14T23:54:02.362Z","1.1.4":"2016-10-26T14:24:05.737Z","1.1.5":"2016-12-07T21:57:31.571Z","1.1.6":"2017-01-16T15:07:52.009Z","1.1.7":"2017-01-27T19:10:38.369Z","1.1.8":"2017-02-02T14:37:28.199Z","1.1.9":"2017-04-07T18:07:01.151Z","1.1.10":"2017-05-04T19:33:52.349Z","1.1.11":"2017-05-16T17:46:29.066Z","1.1.12":"2017-06-09T18:59:16.718Z","1.1.13":"2017-12-12T12:47:50.624Z","1.2.0-beta":"2017-12-13T16:39:11.486Z","1.2.0":"2017-12-15T14:22:55.763Z","1.3.0":"2018-01-22T20:22:01.060Z","1.3.1":"2018-01-23T19:08:08.129Z","1.4.0":"2018-02-07T20:58:47.173Z","1.4.0-beta":"2018-02-08T22:09:42.944Z","1.4.0-beta.1":"2018-02-22T15:57:46.831Z","1.5.0":"2018-03-05T21:24:41.455Z","1.5.1":"2018-03-07T18:45:11.472Z","1.5.1-beta.1":"2018-03-14T21:40:34.078Z","1.5.1-beta.2":"2018-03-15T12:54:16.088Z","1.5.1-beta.3":"2018-03-15T13:07:05.664Z","1.5.1-beta.4":"2018-03-21T13:43:11.115Z","1.5.2":"2018-03-28T19:18:15.051Z","1.6.0":"2018-03-28T22:55:42.306Z","1.6.1":"2018-03-30T19:15:27.504Z","1.6.2":"2018-04-05T13:25:58.577Z","1.6.2-beta.1":"2018-04-11T13:26:13.937Z","1.7.0":"2018-04-27T19:55:57.246Z","1.7.1":"2018-05-07T21:42:30.189Z","1.7.2":"2018-05-07T23:58:14.147Z","1.7.3":"2018-05-08T18:22:18.423Z","1.7.4":"2018-05-23T18:07:28.839Z","2.0.0":"2018-05-26T01:06:31.363Z","2.1.0":"2018-06-01T00:10:01.228Z","2.1.1":"2018-06-06T00:49:23.538Z","2.1.2":"2018-06-08T20:17:24.551Z","2.2.0":"2018-06-22T21:25:08.667Z","2.3.0":"2018-06-27T18:26:29.986Z","2.3.1":"2018-06-29T19:03:05.730Z","2.4.0":"2018-07-12T21:17:42.384Z","2.4.1":"2018-08-15T00:30:34.208Z","2.5.0":"2018-08-27T20:21:27.742Z","2.6.0":"2018-09-07T19:58:06.696Z","2.7.0":"2018-09-27T01:12:26.872Z","2.7.1":"2018-09-28T00:09:58.599Z","2.7.2":"2018-10-17T18:39:51.815Z","2.7.3":"2018-11-09T22:03:00.122Z","2.7.4":"2018-11-22T00:27:48.392Z","2.7.5":"2018-11-22T01:38:53.723Z","2.8.0":"2018-12-03T23:26:59.252Z","2.9.0-alpha.1":"2018-12-04T01:36:30.636Z","2.9.0-alpha.2":"2018-12-05T20:29:14.639Z","2.9.0-beta.1":"2018-12-07T01:57:44.910Z","2.9.0":"2019-02-02T00:47:05.843Z","2.9.1":"2019-02-08T21:57:22.682Z","2.9.2":"2019-02-13T01:41:45.169Z","2.9.3":"2019-02-13T02:08:28.438Z","2.9.4":"2019-02-23T01:07:58.233Z","2.9.5":"2019-03-12T20:20:54.435Z","2.9.6":"2019-04-17T00:47:47.156Z","2.9.7":"2019-04-17T00:53:57.786Z","2.10.0":"2019-04-20T00:13:23.860Z","2.10.1":"2019-04-23T19:42:51.604Z","2.10.2":"2019-05-02T00:47:25.010Z","2.10.3":"2019-05-03T22:28:32.287Z"},"homepage":"https://github.com/launchdarkly/js-client#readme","keywords":["launchdarkly","analytics","client"],"repository":{"type":"git","url":"git://github.com/launchdarkly/js-client.git"},"author":{"name":"LaunchDarkly","email":"team@launchdarkly.com"},"bugs":{"url":"https://github.com/launchdarkly/js-client/issues"},"license":"Apache-2.0","readmeFilename":"","users":{"rmanalan":true}}