feature-flag-js
v1.0.0
Published
Simple feature-flagging library that:
Downloads
4
Readme
Feature Flag Js
Simple feature-flagging library that:
- Runs deterministically so that it does not need a database
- Works on browser and Node.js (SSR via Express.js)
- Uses cookies as a cache
- Works with React (via React Context)
How is the distribution?
Please be patient when you run the random distribution test, the last time I tried it took me 5 minutes.
~/g/y/kumparan-js master *$… packages/feature-flag-js node random-distribution-test.js Tue May 15 15:54:17 2018
#1 error rate: 1%
#2 error rate: 0%
#3 error rate: 2%
#4 error rate: 0%
#5 error rate: 1%
#6 error rate: 1%
#7 error rate: 2%
#8 error rate: 0%
#9 error rate: 1%
#10 error rate: 1%
#11 error rate: 0%
#12 error rate: 0%
#13 error rate: 0%
#14 error rate: 0%
#15 error rate: 0%
#16 error rate: 0%
#17 error rate: 0%
#18 error rate: 0%
#19 error rate: 0%
#20 error rate: 0%
#21 error rate: 0%
#22 error rate: 0%
#23 error rate: 0%
#24 error rate: 0%
#25 error rate: 0%
#26 error rate: 0%
#27 error rate: 1%
#28 error rate: 0%
#29 error rate: 0%
#30 error rate: 1%
#31 error rate: 1%
#32 error rate: 0%
#33 error rate: 0%
#34 error rate: 0%
#35 error rate: 1%
#36 error rate: 0%
#37 error rate: 0%
#38 error rate: 0%
#39 error rate: 2%
#40 error rate: 0%
#41 error rate: 0%
#42 error rate: 1%
#43 error rate: 0%
#44 error rate: 0%
#45 error rate: 0%
#46 error rate: 0%
#47 error rate: 2%
#48 error rate: 0%
#49 error rate: 1%
#50 error rate: 1%
#51 error rate: 0%
#52 error rate: 0%
#53 error rate: 0%
#54 error rate: 0%
#55 error rate: 1%
#56 error rate: 0%
#57 error rate: 1%
#58 error rate: 0%
#59 error rate: 0%
#60 error rate: 0%
#61 error rate: 1%
#62 error rate: 0%
#63 error rate: 1%
#64 error rate: 0%
#65 error rate: 0%
#66 error rate: 1%
#67 error rate: 0%
#68 error rate: 1%
#69 error rate: 2%
#70 error rate: 0%
#71 error rate: 1%
#72 error rate: 1%
#73 error rate: 0%
#74 error rate: 0%
#75 error rate: 0%
#76 error rate: 0%
#77 error rate: 0%
#78 error rate: 0%
#79 error rate: 1%
#80 error rate: 1%
#81 error rate: 1%
#82 error rate: 0%
#83 error rate: 0%
#84 error rate: 0%
#85 error rate: 0%
#86 error rate: 0%
#87 error rate: 0%
#88 error rate: 0%
#89 error rate: 1%
#90 error rate: 0%
#91 error rate: 1%
#92 error rate: 0%
#93 error rate: 0%
#94 error rate: 0%
#95 error rate: 0%
#96 error rate: 0%
#97 error rate: 0%
#98 error rate: 0%
#99 error rate: 1%
#100 error rate: 0%
~/g/y/kumparan-js master *$-… packages/feature-flag-js 5.6m Tue May 15 15:59:59 2018