@tricoteuses/tisseuse 0.1.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 (54) hide show
  1. package/LICENSE.md +22 -0
  2. package/README.md +5 -0
  3. package/dist/index.js +707 -0
  4. package/dist/lib/asserts.d.ts +1 -0
  5. package/dist/lib/index.d.ts +3 -0
  6. package/dist/lib/numbers.d.ts +6 -0
  7. package/dist/lib/server/auditors/config.d.ts +4 -0
  8. package/dist/lib/server/config.d.ts +18 -0
  9. package/dist/lib/server/databases/index.d.ts +10 -0
  10. package/dist/lib/server/text_links.d.ts +46 -0
  11. package/dist/lib/server/text_links.test.d.ts +1 -0
  12. package/dist/lib/server/text_parsers/transformers.d.ts +3 -0
  13. package/dist/lib/strings.d.ts +1 -0
  14. package/dist/lib/text_parsers/actions.d.ts +1 -0
  15. package/dist/lib/text_parsers/actions.test.d.ts +1 -0
  16. package/dist/lib/text_parsers/articles.d.ts +53 -0
  17. package/dist/lib/text_parsers/articles.test.d.ts +1 -0
  18. package/dist/lib/text_parsers/ast.d.ts +136 -0
  19. package/dist/lib/text_parsers/citations.d.ts +7 -0
  20. package/dist/lib/text_parsers/citations.test.d.ts +1 -0
  21. package/dist/lib/text_parsers/dates.d.ts +6 -0
  22. package/dist/lib/text_parsers/dates.test.d.ts +1 -0
  23. package/dist/lib/text_parsers/divisions.d.ts +29 -0
  24. package/dist/lib/text_parsers/divisions.test.d.ts +1 -0
  25. package/dist/lib/text_parsers/helpers.d.ts +10 -0
  26. package/dist/lib/text_parsers/index.d.ts +4 -0
  27. package/dist/lib/text_parsers/index.test.d.ts +1 -0
  28. package/dist/lib/text_parsers/numbers.d.ts +17 -0
  29. package/dist/lib/text_parsers/numbers.test.d.ts +1 -0
  30. package/dist/lib/text_parsers/parsers.d.ts +51 -0
  31. package/dist/lib/text_parsers/parsers.test.d.ts +1 -0
  32. package/dist/lib/text_parsers/portions.d.ts +53 -0
  33. package/dist/lib/text_parsers/portions.test.d.ts +1 -0
  34. package/dist/lib/text_parsers/positions.d.ts +4 -0
  35. package/dist/lib/text_parsers/prepositions.d.ts +6 -0
  36. package/dist/lib/text_parsers/prepositions.test.d.ts +1 -0
  37. package/dist/lib/text_parsers/references.d.ts +13 -0
  38. package/dist/lib/text_parsers/references.test.d.ts +1 -0
  39. package/dist/lib/text_parsers/relative_locations.d.ts +9 -0
  40. package/dist/lib/text_parsers/relative_locations.test.d.ts +1 -0
  41. package/dist/lib/text_parsers/separators.d.ts +7 -0
  42. package/dist/lib/text_parsers/simplifiers.d.ts +13 -0
  43. package/dist/lib/text_parsers/simplifiers.test.d.ts +1 -0
  44. package/dist/lib/text_parsers/texts.d.ts +42 -0
  45. package/dist/lib/text_parsers/texts.test.d.ts +1 -0
  46. package/dist/lib/text_parsers/transformers.d.ts +53 -0
  47. package/dist/lib/text_parsers/typography.d.ts +9 -0
  48. package/dist/lib/text_parsers/typography.test.d.ts +1 -0
  49. package/dist/scripts/add_links_to_html_document.d.ts +1 -0
  50. package/dist/scripts/add_references_to_html_document.d.ts +6 -0
  51. package/dist/scripts/extract_texts_infos.d.ts +1 -0
  52. package/dist/scripts/extract_texts_titles_infos.d.ts +1 -0
  53. package/dist/scripts/html_document_to_text.d.ts +1 -0
  54. package/package.json +69 -0
package/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ # Tricoteuses Tisseuse
2
+
3
+ _Link (to) French legislative documents_
4
+
5
+ By: Emmanuel Raviart <mailto:emmanuel@raviart.com>
6
+
7
+ Copyright (C) 2025 Emmanuel Raviart
8
+
9
+ https://git.tricoteuses.fr/logiciels/tricoteuses-juridique/src/branch/main/packages/tisseuse
10
+
11
+ > Tricoteuses Tisseuse is free software; you can redistribute it and/or modify
12
+ > it under the terms of the GNU Affero General Public License as
13
+ > published by the Free Software Foundation, either version 3 of the
14
+ > License, or (at your option) any later version.
15
+ >
16
+ > Tricoteuses Tisseuse is distributed in the hope that it will be useful,
17
+ > but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ > GNU Affero General Public License for more details.
20
+ >
21
+ > You should have received a copy of the GNU Affero General Public License
22
+ > along with this program. If not, see <http://www.gnu.org/licenses/>.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # Tricoteuses Tisseuse
2
+
3
+ _Link (to) French legislative documents_
4
+
5
+ Tricoteuses Tisseuse started from a full rewrite of [Metslesliens](https://www.npmjs.com/package/metslesliens) by Seb35, published under the "DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE" (WTFPL) version 2.