improving readme

This commit is contained in:
David Bruant 2025-09-18 15:26:31 +02:00
parent d18c16ee68
commit b9eadf8834

View File

@ -99,8 +99,7 @@ And then run the code:
```js
import {join} from 'node:path';
import {getOdtTemplate} from '../scripts/odf/odtTemplate-forNode.js'
import {fillOdtTemplate} from '../scripts/node.js'
import {getOdtTemplate, fillOdtTemplate} from '@odfjs/odfjs'
// replace with your template path
const templatePath = join(import.meta.dirname, './tests/data/template-anniversaire.odt')