diff --git a/README.md b/README.md index 1e2aa1a..04fd3b4 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,10 @@ See the [Greenlock.js documentation](https://www.npmjs.com/package/greenlock) fo ```js const Greenlock = require('greenlock'); +const pkg = require('./package.json'); const greenlock = Greenlock.create({ + packageAgent: pkg.name + '/' + pkg.version, configDir: "./store", maintainerEmail: "example@example.com" });