Commit graph

124 commits

Author SHA1 Message Date
Joshua Appelman
03b92b1bb8 Bumps escape-string-regexp to 1.0.1, slight speed improvement. 2014-07-12 02:38:57 +02:00
Joshua Appelman
994758f012 0.5.1 2014-07-09 22:25:13 +02:00
Sindre Sorhus
3073fa3110 0.5.0 2014-07-04 23:24:19 +02:00
Sindre Sorhus
0dde0473e0 add benchmark to package.json
run with `npm run bench`
2014-07-04 22:28:30 +02:00
Joshua Appelman
3026d71e0e Adds benchmarking using matcha.
Run through:
```shell
./node_modules/matcha/bin/matcha benchmark.js
```

Results against current HEAD:
```shell
1,863,195 op/s » add colour
2,215,812 op/s » add several styles
  323,213 op/s » add nested styles
```

Results against the latest revision before optiziations, e122899
```shell
  26,714 op/s » add colour
  26,752 op/s » add several styles
  13,414 op/s » add nested styles
```

Closes #21
2014-07-04 21:30:02 +02:00
Joshua Appelman
c8fe7c3966 Adds myself - jbnicolai - as a contributor. 2014-06-26 08:22:08 +02:00
Sindre Sorhus
732fb08e2b bump strip-ansi 2014-06-24 21:34:27 +02:00
Sindre Sorhus
90bd6477d6 add .hasColor() method - fixes #23 2014-06-24 21:34:11 +02:00
Sindre Sorhus
763b167349 refactor and extract the RegExp escaping 2014-06-24 17:13:41 +02:00
Sindre Sorhus
144421dc16 has-color => supports-color 2014-06-14 03:49:42 +02:00
Sindre Sorhus
fa9bd4ebd9 bump ansi-styles 2014-06-04 01:41:17 +02:00
Sindre Sorhus
af4983c011 bump strip-ansi 2014-03-26 16:37:06 +01:00
Sindre Sorhus
0a33a270b1 0.4.0 2013-12-13 20:30:27 +01:00
Sindre Sorhus
d30fd3c3bd improve package.json 2013-12-13 20:27:10 +01:00
Sindre Sorhus
d2a1052042 use index.js 2013-12-13 20:22:40 +01:00
Sindre Sorhus
879defda72 Update to latest ansi-styles 2013-12-08 01:02:35 +01:00
Sindre Sorhus
a66c486301 use strip-ansi
https://github.com/sindresorhus/strip-ansi
2013-12-08 00:33:08 +01:00
Sindre Sorhus
b0a0e42bfe 0.3.0 2013-10-19 17:58:04 +02:00
Sindre Sorhus
0133342393 0.2.1 2013-08-29 16:14:33 +02:00
Sindre Sorhus
c8f8a1f6f3 0.2.0 2013-08-03 18:48:02 +02:00
Sindre Sorhus
c323bf0caf Add support for nested styles 2013-08-03 18:47:47 +02:00
Sindre Sorhus
d60eeb9df3 0.1.1 2013-08-03 03:48:26 +02:00
Sindre Sorhus
466710d17e 0.1.0 2013-08-03 02:21:21 +02:00
Sindre Sorhus
cffc3552b0 init 2013-08-03 02:18:58 +02:00