• Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 12 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Remove nodecore related stack trace noise

clarify Build Status

Remove nodecore related stack trace noise

Installation

npm install clarify

Example

The following script produce an error:

require('clarify');

throw new Error("custom error");

Without clarify the error output is:

/Users/Andreas/Sites/node_modules/clarify/test.js:2
throw new Error("test");
      ^
Error: test
    at Object.<anonymous> (/Users/Andreas/Sites/node_modules/clarify/test.js:2:7)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

With clarify the error output is:

/Users/Andreas/Sites/node_modules/clarify/test.js:2
throw new Error("test");
      ^
Error: test
    at Object.<anonymous> (/Users/Andreas/Sites/node_modules/clarify/test.js:2:7)

API documentation

To active require clarify.

  require('clarify');

License

The software is license under "MIT"

Copyright (c) 2012 Andreas Madsen

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.

More Repositories

1

python-textualheatmap

Create interactive textual heat maps for Jupiter notebooks
Jupyter Notebook
195
star
2

trace

Creates super long stack traces
JavaScript
194
star
3

python-lrcurve

Creates a learning-curve plot for Jupyter/Colab notebooks that is updated in real-time.
Jupyter Notebook
175
star
4

stable-nalu

Code for Neural Arithmetic Units (ICLR) and Measuring Arithmetic Extrapolation Performance (SEDL|NeurIPS)
Python
145
star
5

htmlparser-benchmark

Simple benchmark for diffrent htmlparsers using real-life data
HTML
93
star
6

dprof

Dynamic/structured profiling & visualization for sync and async operations
JavaScript
73
star
7

xorshift

Random number generator using xorshift128+
JavaScript
69
star
8

ttest

Perform the Student's t hypothesis test
JavaScript
45
star
9

stack-chain

API for combining call site modifiers
JavaScript
41
star
10

distributions

A collection of probability distribution functions
JavaScript
36
star
11

async-hook

Inspect the life of handle objects in node
JavaScript
36
star
12

article

Analyze a stream of HTML and outputs the article title, text, and image
HTML
27
star
13

immortal

Deprecated: Daemon tool made in pure javascript
JavaScript
21
star
14

nlp-roar-interpretability

Measuring if attention is explanation with ROAR
Python
21
star
15

tfjs-special

Implements Beta, Gamma, Zeta, and Bessel functions for TensorFlow.js
TypeScript
21
star
16

mathfn

Some basic but difficult to implement mathmatical functions
JavaScript
20
star
17

course-02456-sparsemax

TensorFlow and Numpy implementation of sparsemax
Jupyter Notebook
16
star
18

summary

Takes an array of numbers and calculates some descriptive statistics
JavaScript
16
star
19

wasm-dom

WIP: Implements a DOM wrapper for WebAssembly
C++
14
star
20

steer

Use steer to control your chrome (the browser)
JavaScript
14
star
21

execspawn

spawn stream for child_process.exec
JavaScript
11
star
22

dgram-emitter

Very simple EventEmitter on top of a UDP server/client
JavaScript
11
star
23

tcpnet

Create zero config horizontal tcp cluster
JavaScript
10
star
24

master-thesis

Semi-Supervised Neural Machine Translation - for small bilingual datasets
Python
9
star
25

teddybear

blocks the event loop in node.js without draining your cpu
C++
8
star
26

flower

Deprecated: flowers is a collection of stream helpers
JavaScript
8
star
27

editdistance

A much faster than the naΓ―ve levenshtein distance algoritme
JavaScript
7
star
28

piccolo

Isomorphic projection framework
JavaScript
7
star
29

course-42137

Optimization using metaheuristics - University Timetabling
Python
7
star
30

talk-async-wrap

Talk: Introduction to Async Wrap
JavaScript
6
star
31

my-setup

Guides for myself and other, on how some of my stuff is configured.
Shell
6
star
32

startpoint

Converts a single buffer or array of objects intro a stream
JavaScript
6
star
33

interpreted

node-tap wrapper for testing input/output functionality
JavaScript
6
star
34

rfc-csv

RFC 4180 CSV stream parser
JavaScript
6
star
35

domstream

HTML manipulation with progressiv output stream
JavaScript
5
star
36

feedfinder

Transform stream there extracts feed links from a HTML page
JavaScript
5
star
37

faithfulness-measurable-models

Implementation of Faithfulness measurable masked language models
Python
5
star
38

riakdb

riak client with stream interfaces using protocol buffers
JavaScript
4
star
39

endpoint

Converts a stream intro a buffer or array of objects
JavaScript
4
star
40

configme

Simplest possible configuration tool. without conflict - with defaulting!
JavaScript
4
star
41

talk-tracing-tool

Talk: Writing an asynchronous traceing tool
JavaScript
4
star
42

modulebox

node.js like module environment in the browser
JavaScript
4
star
43

llm-introspection

Interpretability faithfulness and introspection in conversational LLMs
Python
4
star
44

levenshtein-benchmark

Simple benchmark for levenshtein using real-life data
JavaScript
3
star
45

drugged

Prototypal extendable HTTP router with domain integration
JavaScript
3
star
46

cahier

static file conversion, writing and reading
JavaScript
3
star
47

perceive

Inspect values with peace by readability
JavaScript
3
star
48

gmid

Creates an overcomplicated none standard unique ID.
JavaScript
3
star
49

mockney

Mock TCP connection by redirecting them
JavaScript
3
star
50

steer-screenshot

Take a screenshot of a google chrome window
JavaScript
3
star
51

fusspos

Fussy string search giving some estimate of a substring position
JavaScript
2
star
52

newlinepoint

Normalize or convert newlines
JavaScript
2
star
53

safedir

Find directory files, and return an array
JavaScript
2
star
54

indexof-surrounding

Like indexOf but looks at surrounding items
JavaScript
2
star
55

localizer

Localized and configureable async and sync `requre.resolve()` implementation.
JavaScript
2
star
56

nspoint

Split a dublex object stream intro multiply dublex streams
JavaScript
2
star
57

reversepoint

Reverse an object stream
JavaScript
2
star
58

equilibrium

static file write stream with automatic truncate and query
JavaScript
2
star
59

grace

The world coolest analysis of the grace data, made by two crazy kids
Python
2
star
60

ndjsonpoint

Parse each line in a stream as separate JSON strings
JavaScript
2
star
61

qoutes

A continues stream of qoutes for each day.
JavaScript
2
star
62

mariastream

Simplified stream interface for mariaDB
JavaScript
2
star
63

daily

daily - A LevelDB based logging system
JavaScript
2
star
64

mappoint

When you simply need to map a stream
JavaScript
2
star
65

daily-protocol

daily - The protocol encoder and decoder for network communcation
JavaScript
2
star
66

isme

Check that ip match this computer
JavaScript
2
star
67

talk-textual-interpretability

Talk on textual interpretability
JavaScript
2
star
68

notmodified

set and validate http cache headers
JavaScript
2
star
69

piccolo-website

Website for piccolo - The isomorphic projection framework
JavaScript
1
star
70

steer-loaded

Heuristic for detecting when a page is loaded in google chrome
JavaScript
1
star
71

daily-storage

daily - The LevelDB storage abstaction
JavaScript
1
star
72

blow

Simple browser wrapper on test framework: mocha
JavaScript
1
star
73

binary-view

Return a pretty binary print of a typed array
JavaScript
1
star
74

fsquery

Query async fs module calls
JavaScript
1
star
75

drainage

Simple pausable id based queue system with shortage notification
JavaScript
1
star
76

bachelor-code

The code for my B.Sc.Eng. thesis work
Python
1
star
77

bachelor-report

The latex report containing my B.Sc.Eng. thesis work
TeX
1
star
78

domstream-client

domstream API on the client
JavaScript
1
star
79

wspoint

Create a dublex stream around a websocket
JavaScript
1
star
80

steer-evalute

Evaluate a script in google chrome
JavaScript
1
star
81

daily-interface

daily - The transport independent interface
JavaScript
1
star
82

typepoint

Typecast properties in object streams
JavaScript
1
star
83

slicepoint

Slice a stream
JavaScript
1
star
84

binarypoint

Split a binary duplex stream up at its null bytes
JavaScript
1
star
85

chrome-bug

Oh look, is this a bug in chrome?
JavaScript
1
star
86

worddiff

Counts the number of unordered word diffrences in two strings
JavaScript
1
star
87

tensorflow-sparsemax-benchmark

Benchmark suite for https://github.com/tensorflow/tensorflow/pull/6387
Python
1
star
88

thintalk

Deprecated: A minimal extendable RPC abstraction with buildin TPC and IPC support
JavaScript
1
star
89

cluster-vhost

Deprecated: Virtual host plugin for node cluster
JavaScript
1
star
90

interface-name

Returns the interface name for an IP address
JavaScript
1
star
91

steer-reset

Reset the state in google chrome
JavaScript
1
star
92

inspectpoint

Transforms objects intro pipeable buffers using util.inspect
JavaScript
1
star
93

andreasmadsen.github.io

Personal website
HTML
1
star