Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
trace-event-lib
Advanced tools
A library to create a trace of your JS app per Google's Trace Event format.
A library to create a trace of your JS app per Google's Trace Event format.
These logs can then be visualized with:
npm install trace-event-lib --save
import { AbstractEventBuilder } from 'chrome-trace-event';
class ConcreteEventBuilder extends AbstractEventBuilder {
send(event) {
// Implement the abstract method: push events into a stream, array, etc.
}
}
const trace = new ConcreteEventBuilder();
trace.begin({ cat: 'category1,category2', name: 'duration event' });
// ...
trace.instant({ name: 'resolve config', args: { /* ... */ } });
// ...
trace.complete({ name: 'nested event', dur: 3e6 /* 3s */ });
// ...
trace.end();
/**
* Also, see the other methods on the website.
*
* @see {@link AbstractEventBuilder#beginAsync}
* @see {@link AbstractEventBuilder#instantAsync}
* @see {@link AbstractEventBuilder#endAsync}
* @see {@link AbstractEventBuilder#counter}
* @see {@link AbstractEventBuilder#metadata}
* @see {@link AbstractEventBuilder#process_name}
* @see {@link AbstractEventBuilder#process_labels}
* @see {@link AbstractEventBuilder#process_sort_index}
* @see {@link AbstractEventBuilder#thread_name}
* @see {@link AbstractEventBuilder#thread_sort_index}
*/
FAQs
A library to create a trace of your JS app per Google's Trace Event format.
The npm package trace-event-lib receives a total of 193,925 weekly downloads. As such, trace-event-lib popularity was classified as popular.
We found that trace-event-lib 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.