Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@perfsee/package
Advanced tools
@perfsee/package
Perfsee SDK to analyze packages and upload results to perfsee platform.
If there are benchmark files described below which named xxx.bench.{js,ts}
(by default), this command will run benchmarks before uploading.
PERFSEE_TOKEN=<your-token> npx @perfsee/package <path-to-package> --project=<perfsee-project-id>
Environment PERFSEE_TOKEN
and option project
are necessary.
Create a file named test.bench.js
under the project.
const Benchmark = require('@perfsee/package')
Benchmark('foo', () => {
bar()
})
Benchmark('bar', [
{
test: () => {
baz()
},
options: { name: 'baz' },
},
{
test: async () => {
await setup()
return () => {
quz()
}
},
options: { name: 'quz with async setup' },
},
])
All benchmark files will be run during the analysis phase (if target is not browser
).
Id of your perfsee project on the platform.
'browser'
| 'node'
'node'
If target is browser
, benchmarks will be bundled and run in headless chrome on server.
'*.{bench|benchmark}.{js|ts}'
Glob pattern to find benchmark files.
FAQs
package analyzer sdk by perfsee
The npm package @perfsee/package receives a total of 0 weekly downloads. As such, @perfsee/package popularity was classified as not popular.
We found that @perfsee/package demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.