Skip to content

Commit c9ec40c

Browse files
committed
name changed
1 parent 4f9eeaf commit c9ec40c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const defaultOptions = {
99
format: 'jsobject'
1010
}
1111

12-
const htmlTableToJson = async (options = defaultOptions, headers) => {
12+
const jsonfromtable = async (options = defaultOptions, headers) => {
1313
try {
1414
const { url, html, selector, format } = { ...defaultOptions, ...options }
1515

@@ -43,4 +43,4 @@ const htmlTableToJson = async (options = defaultOptions, headers) => {
4343
}
4444
}
4545

46-
module.exports = htmlTableToJson
46+
module.exports = jsonfromtable

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsonfromtable",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Generate json output from html tables",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)