
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@rimble/utils
Advanced tools
Rimble Utils is part of an array of tools to help web3 dApp developers launch products faster and with better UX.
Rimble Utils is part of an array of tools to help web3 dApp developers launch products faster and with better UX.
Clone this repository and install its dependencies:
// with npm
npm install @rimble/utils --save
// with yarn
yarn add @rimble/utils
Import RimbleUtils library and call functions.
import RimbleUtils from '@rimble/utils';
const canDoWeb3 = RimbleUtils.browserIsWeb3Compatible(); // returns true or false boolean
const currentNetworkName = RimbleUtils.getEthNetworkNameById(4); // returns "Rinkeby" string
const isMobile = RimbleUtils.isMobileDevice(); // returns true or false boolean
Name | Parameters | Returns | Description |
---|---|---|---|
browserIsWeb3Capable | none | boolean | Examines brower's UserAgent and determines if browser is recent Chrome, FireFox, Brave, or Opera |
getEthNetworkNameById | Ethereum network ID | string | Converts an Ethereum network ID into a network name |
isMobileBrowser | none | boolean | Examines browser's UserAgent and determines if the current device is a mobile platform |
Open an issue for any bugs or feature requests
We are open source and welcome your contributions !
MIT © ConsenSys
FAQs
Rimble Utils is part of an array of tools to help web3 dApp developers launch products faster and with better UX.
We found that @rimble/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.