lutrin 1.0.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.
- package/LICENSE +21 -0
- package/README.md +27 -0
- package/bin.mjs +14 -0
- package/package.json +31 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Julien Riel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# lutrin
|
|
2
|
+
|
|
3
|
+
The `lutrin` command — a Markdown → PowerPoint / HTML presentation compiler.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx lutrin build deck.md -o deck.pptx # PowerPoint
|
|
7
|
+
npx lutrin build deck.md -o deck.html # standalone HTML
|
|
8
|
+
npx lutrin preview deck.md # local server, reloads on save
|
|
9
|
+
npx lutrin validate deck.md # positioned diagnostics
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Or install it once:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g lutrin
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
This package is a thin entry point. Everything — the compiler, the layout
|
|
19
|
+
engine, the renderers and the official layout catalog — lives in
|
|
20
|
+
[`@lutrin/core`](https://www.npmjs.com/package/@lutrin/core), its only
|
|
21
|
+
dependency. Install this one if you want the command; depend on `@lutrin/core`
|
|
22
|
+
directly if you want the library.
|
|
23
|
+
|
|
24
|
+
The DSL, the kit format and the full CLI reference are documented in the
|
|
25
|
+
[repository](https://github.com/julien-riel/lutrin).
|
|
26
|
+
|
|
27
|
+
MIT © Julien Riel
|
package/bin.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* The `lutrin` command.
|
|
4
|
+
*
|
|
5
|
+
* This package exists so that `npx lutrin` and `npm i -g lutrin` work without
|
|
6
|
+
* anyone having to know the scope. It carries no logic of its own: the
|
|
7
|
+
* compiler, the CLI and the design assets all live in `@lutrin/core`, which is
|
|
8
|
+
* its single dependency, pinned to the exact matching version.
|
|
9
|
+
*
|
|
10
|
+
* `@lutrin/core/cli` dispatches at import time — it reads `process.argv` and
|
|
11
|
+
* exits the process itself — so importing it for its side effect IS the call.
|
|
12
|
+
* There is deliberately nothing after this line.
|
|
13
|
+
*/
|
|
14
|
+
import '@lutrin/core/cli';
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lutrin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Markdown → PowerPoint / HTML presentation compiler. Command-line entry point: installs the `lutrin` command and delegates to @lutrin/core.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"lutrin": "bin.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": ["bin.mjs", "README.md"],
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@lutrin/core": "1.0.0"
|
|
15
|
+
},
|
|
16
|
+
"keywords": ["markdown", "powerpoint", "pptx", "slides", "presentation", "deck", "html", "cli"],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/julien-riel/lutrin.git",
|
|
20
|
+
"directory": "packages/lutrin"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/julien-riel/lutrin/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/julien-riel/lutrin#readme",
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=22"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"author": "Julien Riel"
|
|
31
|
+
}
|