@goplayerjuggler/abc-tools 1.0.2 → 1.0.4
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.
- package/.editorconfig +17 -0
- package/package.json +8 -7
- package/src/contour-sort.js +399 -384
- package/src/incipit.js +134 -201
- package/src/index.js +23 -23
- package/src/manipulator.js +448 -449
- package/src/math.js +63 -63
- package/src/parse/barline-parser.js +115 -0
- package/src/parse/header-parser.js +140 -0
- package/src/parse/note-parser.js +463 -0
- package/src/parse/parser.js +530 -0
- package/src/parse/token-utils.js +106 -0
- package/src/parser.js +0 -996
package/.editorconfig
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
# top-most EditorConfig file
|
|
3
|
+
root = true
|
|
4
|
+
|
|
5
|
+
# Unix-style newlines with a newline ending every file
|
|
6
|
+
[*]
|
|
7
|
+
end_of_line = lf
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
|
|
10
|
+
# Matches multiple files with brace expansion notation
|
|
11
|
+
# Set default charset
|
|
12
|
+
[*.{js,md}]
|
|
13
|
+
charset = utf-8
|
|
14
|
+
|
|
15
|
+
# Indentation override for all JS
|
|
16
|
+
[**.js]
|
|
17
|
+
indent_style = tab
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goplayerjuggler/abc-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "sorting algorithm and implementation for ABC tunes; plus other tools for parsing and manipulating ABC tunes",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,15 +12,16 @@
|
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"abc",
|
|
15
|
-
"
|
|
15
|
+
"folk",
|
|
16
|
+
"irish",
|
|
16
17
|
"melody",
|
|
17
|
-
"sorting",
|
|
18
|
-
"parsing",
|
|
19
18
|
"modal",
|
|
20
|
-
"
|
|
19
|
+
"music",
|
|
20
|
+
"parsing",
|
|
21
|
+
"sort",
|
|
22
|
+
"sorting",
|
|
21
23
|
"traditional",
|
|
22
|
-
"
|
|
23
|
-
"folk"
|
|
24
|
+
"tune"
|
|
24
25
|
],
|
|
25
26
|
"author": "Malcolm Schonfield",
|
|
26
27
|
"license": "GPL-3.0-or-later",
|