Security News
Nightmares on npm: How Two Malicious Packages Facilitate Data Theft and Destruction
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
@celo/base
Advanced tools
This package contains shared classes and functions used by other celo packages. It was designed to have minimal external dependencies. (for shared celo functions that have big external dependencies see the @celo/utils, @celo/cryptographic-utils, @celo/phone-utils, @celo/network-utils packages)
// enums StableTokens and Token are enums, CeloTokenType is the type that must be one of the 2 enums
import { StableTokens, Token, CeloTokenType } from "@celo/base"
StableTokens.cUSD
StableTokens.cREAL
Token.CELO
import { eqAddress, normalizeAddress, isNullAddress } from "@celo/base"
FAQs
Celo base common utils, no dependencies
The npm package @celo/base receives a total of 23,960 weekly downloads. As such, @celo/base popularity was classified as popular.
We found that @celo/base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
Security News
A senior white house official is urging insurers to stop covering ransomware payments, indicating possible stricter regulations to deter cybercrime.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.