You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

trace-filter-internals

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trace-filter-internals

Filters internal functions from a given trace.

0.1.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

trace-filter-internals build status

testling badge

Filters internal functions from a given trace.

var filter = require('trace-filter-internals);
var filtered = filter(trace.split('\n');

Installation

npm install trace-filter-internals

API

filterInternals(lines, opts) → {Array.<string>}

Filters all internals specified via opts from the given lines.

Parameters:
NameTypeArgumentDescription
lines Array.<string>

to filter lines from that have internals

opts Object <optional>

specify which kind of internals to keep

Properties
NameTypeDescription
unresolveds Boolean

unresolved addresses like 0x1a23c are filtered from the trace unless this flag is set (default: false)

sysinternals Boolean

sysinternals like __lib_c_start... are filtered from the trace unless this flag is set (default: false)

v8internals Boolean

v8internals like v8::internal::... are filtered from the trace unless this flag is set (default: false)

v8gc Boolean

when v8internals are filtered, garbage collection info is as well unless this flag set (default: true)

Source:
  • index.js , lineno 18
Returns:

lines that passed through the filter

Type
Array.<string>

generated with docme

License

MIT

Keywords

trace

FAQs

Package last updated on 02 Feb 2015

Did you know?

Socket

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.

Install

Related posts