
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
chrome-timeline-logger
Advanced tools
A NodeJs timeline logger tool for generating timeline json files for viewing in the chrome browser
This logger helps generates a timeline JSON file that's compatible with the Chrome Dev Tools timeline viewer
npm install chrome-timeline-logger
var timeline = require('chrome-timeline-logger');
var builder = new timeline.TimelineBuilder();
// create a Program record
var programEvent = builder.startEvent("Program");
// do some stuff
for (index = _i = 0; _i < 10; index = ++_i) {
// create a TimeStamp record
var event = builder.startEvent("TimeStamp", {message: "hi mum " + index + "!"});
// set the memory useage for this event
event.usedHeapSize = process.memoryUsage().heapUsed;
// demonstrates how to set the documents count in the counters section
event.counters = { documents: index }
console.log("some work load");
// end the TimeStamp record
builder.endEvent();
}
// end the Program record
builder.endEvent();
var logger = new timeline.TimelineLogger();
logger.save("./test.json", programEvent);

######TimelineLogger
| name | type | args | description |
|---|---|---|---|
| save() | method | string filepath, timelineRecordList[], onComplete() | saves an array of timeline records to a file specified by the filepath |
| saveSync() | method | string filepath, timelineRecordList[] | Synchronous version of save |
| version | string | Appears at the top of each saved timeline json file | |
| ######TimelineBuilder |
| name | type | args | description |
|---|---|---|---|
| startEvent() | method | string type, [object data] | starts a timeline event. Types are defined in TimelineRecordTypes |
| endEvent() | method | none | ends the currently started timeline event. |
######TimelineRecord
| name | type | args | description |
|---|---|---|---|
| start() | method | none | sets startTime to Date.now() |
| end() | method | none | sets endTime to Date.now() |
| startTime | number | ||
| endTime | number | ||
| children | TimelineRecord[] | ||
| data | object | ||
| frameId | number | ||
| usedHeapSize | number | ||
| usedHeapSizeDelta | number | ||
| counters | object | ||
| stackTrace | object |
You can discover the history inside the History.md file
You can discover the contributing instructions inside the Contributing.md file
Licensed under the incredibly permissive MIT License
Copyright © 2013+ Stringz Solutions Ltd
Copyright © 2013+ Peter Flannery
FAQs
A NodeJs timeline logger tool for generating timeline json files for viewing in the chrome browser
The npm package chrome-timeline-logger receives a total of 1 weekly downloads. As such, chrome-timeline-logger popularity was classified as not popular.
We found that chrome-timeline-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.