4chan-list-webm
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "4chan-list-webm", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"main": "./lib/index.js", | ||
@@ -8,5 +8,3 @@ "author": "Philip Scott <pscott@zeptohost.com>", | ||
"scripts": { | ||
"test": "node ./test/test.js", | ||
"build": "webpack", | ||
"watch": "webpack --watch" | ||
"test": "node ./test/test.js" | ||
}, | ||
@@ -16,6 +14,3 @@ "dependencies": { | ||
}, | ||
"devDependencies": { | ||
"buble-loader": "^0.4.1", | ||
"webpack": "^3.10.0" | ||
} | ||
"devDependencies": {} | ||
} |
# 4chan-list-webm | ||
Returns an array of objects containing the webm filename and URL. | ||
Given a thread URL, returns an array of objects containing the filename and URL of every webm. | ||
Because CORS [is only supported](https://github.com/4chan/4chan-API/issues/35) with an origin of `http(s)://boards.4chan.org`, | ||
this module **does not work in the browser; it only works in Node.js** | ||
### Installation | ||
## Installation | ||
```bash | ||
@@ -16,12 +19,6 @@ # yarn | ||
Or, using the `<script>` tag: | ||
```html | ||
<script src="https://unpkg.com/4chan-list-webm@1.1.0/dist/bundle.js"></script> | ||
``` | ||
## Usage | ||
### Usage | ||
```js | ||
@@ -47,12 +44,12 @@ const listWebms = require('4chan-list-webm') | ||
### Options | ||
## Options | ||
| Option | Description | Type | | ||
|---------|----------------------------|---------| | ||
| https | Uses https instead of http | Boolean | | ||
| https | Use https instead of http | Boolean | | ||
### Why? | ||
## Why? | ||
¯\\\_(ツ)\_/¯ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
3534
6
32
54