1.1.21 • Published 5 years ago

reassert v1.1.21

Weekly downloads
172
License
-
Repository
github
Last release
5 years ago

This is an old Readme and lot's of features are missing documentation.

I assail my code with assertions and sometimes an assertion is wrong while the code itself is fine.

For these cases I don't want assert to stop execution in production.

Still, an exception is thrown in a setTimeout so that error logging can still be used.

In dev (window.location.hostname==='localhost' or process.env['NODE_ENV'] !== 'production') require('reassert') behaves like expected and stops execution.

Check the source code for more information, it's only couples of lines.

1.1.21

5 years ago

1.1.20

5 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago

0.0.0

7 years ago