rhysd
365b6ffc7c
Fix exporting cheerio module
...
cheerio is intended to be used as below:
```javascript
var cheerio = require('cheerio'),
$ = cheerio.load('<h2 class="title">Hello world</h2>');
```
So we should use `import * as cheerio from "cheerio"` in TypeScript.
However, `cheerio` was defined with `export default` in cheerio.d.ts.
2015-09-04 17:23:11 +09:00
vvakame
9960f3c353
fix cheerio/cheerio-tests.ts
2015-09-03 21:56:56 +09:00
Almouro
81166431fe
Updated Cheerio Element definition according to doc
2015-08-16 12:12:51 +02:00
Almouro
3e6f9cbd89
Support ES6 import syntax
2015-08-16 12:12:50 +02:00
Almouro
2004f8fc47
Updated definition and tests to reflect Cheerio doc
2015-08-16 12:12:50 +02:00
Almouro
5d0102d544
Add ability to create element without using load
2015-08-16 12:12:50 +02:00
Guillaume Mouron
e514901e94
Cheerio: Missing function definition "contents()"
...
See api documentation : https://github.com/cheeriojs/cheerio#contents
2015-08-08 19:55:35 +02:00
Guillaume Mouron
7ad636e4f8
[CHEERIO] The find function can also take a cheerio element as an argument
...
cf. documentation : https://github.com/cheeriojs/cheerio#findnode
2015-07-19 19:14:43 +02:00
Wayne Maurer
7961ac184b
cheerio: fixed format of header as suggested by Bartvds - https://github.com/borisyankov/DefinitelyTyped/pull/2588
2014-07-31 17:29:48 +02:00
Wayne Maurer
a664ce369b
added static html() methods to cheerio
2014-07-30 21:17:53 +02:00
vvakame
05545a1586
restore cheerio.d.ts's 1st author
2014-07-10 14:10:22 +09:00
VILIC VANE
8b2b1f3f85
remove the old definition files
2014-06-17 16:59:50 +08:00
VILIC VANE
173e516840
update reference
2014-06-17 16:56:37 +08:00
VILIC VANE
607b885c20
add old version of cheerio.d.ts
2014-06-17 16:48:40 +08:00
VILIC VANE
38466bd677
change return type of data() to any
2014-06-17 16:43:35 +08:00
VILIC VANE
cc273d67ec
remove old one
2014-06-17 14:45:58 +08:00
VILIC VANE
507a26a9ed
cheerio v0.17.0 definitions
2014-06-15 16:27:36 +08:00
vvakame
2708bc05cd
Fixed tsc failed on Node.js v0.8.25
2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e
Fixed to CI test passing
2013-10-03 10:18:58 +09:00
gstamac
0243aa7790
Cheerio: changed "import module" to "import require"
2013-08-23 12:39:34 +02:00
Boris Yankov
dd35f69637
Big replacement: bool with boolean
2013-08-07 16:59:39 +03:00
Neil Stalker
25127bf917
fix cheerio for TS 0.9
2013-06-21 16:08:00 +01:00
Boris Yankov
e2ee972a23
Update readme and metadata for Cheerio
2013-01-25 02:51:07 +02:00
Bret Little
e8197e3172
Add cheerio typescript definition
2013-01-24 15:48:28 -07:00