mdka 1.5.0-rc.5 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -26,9 +26,9 @@ $ npm install mdka
26
26
  ### Convert from HTML text
27
27
 
28
28
  ```js
29
- const { from_html } = require("mdka")
29
+ const { fromHtml } = require("mdka")
30
30
 
31
- console.log(from_html("<p>Hello, world.</p>"))
31
+ console.log(fromHtml("<p>Hello, world.</p>"))
32
32
  # Hello, world.
33
33
  #
34
34
  ```
@@ -36,9 +36,9 @@ console.log(from_html("<p>Hello, world.</p>"))
36
36
  ### Convert from HTML file
37
37
 
38
38
  ```js
39
- const { from_file } = require("mdka")
39
+ const { fromFile } = require("mdka")
40
40
 
41
- console.log(from_file("tests/fixtures/simple-01.html"))
41
+ console.log(fromFile("tests/fixtures/simple-01.html"))
42
42
  # Hello, world.
43
43
  #
44
44
  ```
@@ -46,17 +46,17 @@ console.log(from_file("tests/fixtures/simple-01.html"))
46
46
  ### Convert from HTML text and write the result to file
47
47
 
48
48
  ```js
49
- const { from_html_to_file } = require("mdka")
49
+ const { fromHtmlToFile } = require("mdka")
50
50
 
51
- from_html_to_file("<p>Hello, world.</p>", "tests/tmp/out.md", false)
51
+ fromHtmlToFile("<p>Hello, world.</p>", "tests/tmp/out.md", false)
52
52
  ```
53
53
 
54
54
  ### Convert from HTML file and write the result to file
55
55
 
56
56
  ```js
57
- const { from_file_to_file } = require("mdka")
57
+ const { fromFileToFile } = require("mdka")
58
58
 
59
- from_file_to_file("tests/fixtures/simple-01.html", "tests/tmp/out.md", false)
59
+ fromFileToFile("tests/fixtures/simple-01.html", "tests/tmp/out.md", false)
60
60
  ```
61
61
 
62
62
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdka",
3
- "version": "1.5.0-rc.5",
3
+ "version": "1.5.0",
4
4
  "description": "HTML to Markdown converter",
5
5
  "author": "nabbisen<nabbisen@scqr.net>",
6
6
  "license": "Apache-2.0",
@@ -67,8 +67,8 @@
67
67
  "prepublishOnly": "napi prepublish --skip-gh-release"
68
68
  },
69
69
  "optionalDependencies": {
70
- "@mdka/lib-linux-x64-gnu": "1.5.0-rc.5",
71
- "@mdka/lib-darwin-arm64": "1.5.0-rc.5",
72
- "@mdka/lib-win32-x64-msvc": "1.5.0-rc.5"
70
+ "@mdka/lib-linux-x64-gnu": "1.5.0",
71
+ "@mdka/lib-darwin-arm64": "1.5.0",
72
+ "@mdka/lib-win32-x64-msvc": "1.5.0"
73
73
  }
74
74
  }