
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
rox-browser
Advanced tools

ROX is a Continuous Feature Rollouts system
Accelerate development and minimize the risk of deploying new code with simple to create feature flags, controlled rollouts, and contextual analytics & integrations.
Please see the detailed instructions in our docs how to add ROX to your project.
Getting started guide, use cases, examples and videos can be found in Rollout support site
The package is Javascript SDK of ROX by Rollout.io for integration with web applications. Define and use simple and advanced feature flags, remote configuration variables, static and computed custom properties in code. Control your application via Rollout.io dashboard.
npm i rox-browser --save
Obtain application key by registering at Rollout.io. As soon as your app is created, start using the SDK
import Rox from '../src';
const appSettingsContainer = {
  shouldShoWelcome: new Rox.Flag(),
  textColor: new Rox.Configuration('black')
};
const onRoxReady = () => {
  if (appSettingsContainer.shouldShoWelcome.isEnabled) {
    const color =  appSettingsContainer.textColor.value
    const div = document
      .createElement('div')
      .textContent('Hello world!')
      .setAttribute('style', `color: ${color}`);
    const body = document.getElementsByTagName('body')[0]
    body.appendChild(div)
  }
};
Rox.register('settingsNamespace', appSettingsContainer);
Rox.setup('<app key', {
  syncCompletionHandler: onRoxReady
});
Override the default configuration by prodiving predefined configuration preset for Rox.setup.
For example:
import Rox from '../src';
/*
- roxOptions.distinctId
- roxOptions.version
- roxOptions.syncComplitionHandler
*/
const roxOptions = {
  distinctId: 'sessionDistinctId',
  version: '1.0',
  syncCompletionHandler: () => {}
};
Rox.setup('appKey', roxOptions);
You can overide flags manually using a built-in UI debug utility that can be activated by invoking Rox.showOverrides().
Running it will display an UI element that allows to explicitly set values of flags. Possible option is the location of the UI element:
'top left''top right''bottom left''bottom right' (default)Rollout for browser is free-to-use, proprietary software. Please see the full license (found in LICENSE in this distribution) for details on its license and the licenses of its dependencies.
If you use ROX and are happy with it, all we ask is that you please consider emailing support@rollout.io to share your thoughts!
And if you don't like it, please let us know what you would like improved, so we can fix it!
FAQs
Rollout.io ROX JS SDK Client
The npm package rox-browser receives a total of 10,033 weekly downloads. As such, rox-browser popularity was classified as popular.
We found that rox-browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.