mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-15 15:56:58 +02:00
modified
This commit is contained in:
-26
@@ -1,26 +0,0 @@
|
||||
# node-trace-event changelog
|
||||
|
||||
## 1.3.1 (not yet released)
|
||||
|
||||
(nothing yet)
|
||||
|
||||
|
||||
## 1.3.0
|
||||
|
||||
- Add `.child(<fields>)` option to `trace_event.createBunyanTracer()` object.
|
||||
|
||||
|
||||
## 1.2.0
|
||||
|
||||
- Add `trace_event.createBunyanLogger()` usage for some sugar. See the
|
||||
README.md for details.
|
||||
|
||||
|
||||
## 1.1.0
|
||||
|
||||
- Rename to 'trace-event', which is a much more accurate name.
|
||||
|
||||
|
||||
## 1.0.0
|
||||
|
||||
First release.
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
# This is the MIT license
|
||||
|
||||
Copyright (c) 2015 Joyent Inc. All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
-31
@@ -1,31 +0,0 @@
|
||||
[](https://travis-ci.org/samccone/chrome-trace-event)
|
||||
|
||||
chrome-trace-event: A node library for creating trace event logs of program
|
||||
execution according to [Google's Trace Event
|
||||
format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU).
|
||||
These logs can then be visualized with
|
||||
[trace-viewer](https://github.com/google/trace-viewer) or chrome devtools to grok one's programs.
|
||||
|
||||
# Install
|
||||
|
||||
npm install chrome-trace-event
|
||||
|
||||
# Usage
|
||||
|
||||
```javascript
|
||||
const Trace = require("chrome-trace-event").Tracer;
|
||||
const trace = new Trace({
|
||||
noStream: true
|
||||
});
|
||||
trace.pipe(fs.createWriteStream(outPath));
|
||||
trace.flush();
|
||||
```
|
||||
|
||||
# Links
|
||||
|
||||
* https://github.com/google/trace-viewer/wiki
|
||||
* https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
|
||||
|
||||
# License
|
||||
|
||||
MIT. See LICENSE.txt.
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"name": "chrome-trace-event",
|
||||
"description": "A library to create a trace of your node app per Google's Trace Event format.",
|
||||
"license": "MIT",
|
||||
"version": "1.0.3",
|
||||
"author": "Trent Mick, Sam Saccone",
|
||||
"keywords": [
|
||||
"trace-event",
|
||||
"trace",
|
||||
"event",
|
||||
"trace-viewer",
|
||||
"google"
|
||||
],
|
||||
"repository": {
|
||||
"url": "github:samccone/chrome-trace-event"
|
||||
},
|
||||
"main": "./dist/trace-event.js",
|
||||
"typings": "./dist/trace-event.d.ts",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@types/node": "*",
|
||||
"prettier": "^1.12.1",
|
||||
"tape": "4.8.0",
|
||||
"typescript": "^4.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"CHANGES.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"check_format": "prettier -l lib/** test/** examples/**",
|
||||
"test": "tape test/*.test.js"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user