# greenlock-manager-fs

> A simple file-based management strategy for Greenlock

Latest version **3.1.1** (published 2019-11-30) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install greenlock-manager-fs
pnpm add greenlock-manager-fs
yarn add greenlock-manager-fs
bun add greenlock-manager-fs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.1 |
| Published | 2019-11-30 |
| First published | 2019-10-22 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 27.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | AJ ONeal |
| Maintainers | coolaj86 |
| Keywords | Greenlock, manager, letsencrypt, acme |

## Links

- npm: https://www.npmjs.com/package/greenlock-manager-fs
- Repository: https://git.rootprojects.org/root/greenlock-manager-fs.js
- npm.io page: https://npm.io/package/greenlock-manager-fs

## Dependencies (2)

- [@root/mkdirp](https://npm.io/package/@root/mkdirp.md) ^1.0.0
- [safe-replace](https://npm.io/package/safe-replace.md) ^1.1.0

## Recent versions

- 3.1.1 (latest) — 2019-11-30
- 3.1.0 — 2019-11-30
- 3.0.5 — 2019-11-03
- 3.0.4 — 2019-11-03
- 3.0.3 — 2019-11-01
- 3.0.1 — 2019-10-31
- 3.0.0 — 2019-10-31
- 0.7.0 — 2019-10-30
- 0.6.5 — 2019-10-29
- 0.6.4 — 2019-10-29
- 0.6.2 — 2019-10-29
- 0.6.1 — 2019-10-29
- 0.6.0 — 2019-10-28
- 0.1.0 — 2019-10-22

## README

# [greenlock-manager-fs.js](https://git.rootprojects.org/root/greenlock-manager-fs.js)

A simple file-based management strategy for Greenlock v3

(to manage SSL certificates for sites)

## Install

```js
npm install --save greenlock-manager-fs@v3
```

## Usage

```js
npx greenlock init --manager greenlock-manager-fs --config-dir './greenlock.d'
```

Or, place this file in the root of your project:

`.greenlockrc`:

```json
{
	"manager": { "module": "@greenlock/manager" },
	"configDir": "./greenlock.d"
}
```

## Example config file

You might start your config file like this:

`./greenlock.d/config.json`:

```json
{
	"subscriberEmail": "jon@example.com",
	"agreeToTerms": true,
	"sites": [
		{
			"subject": "example.com",
			"altnames": ["example.com", "*.example.com"]
		}
	]
}
```

## CLI Management (coming soon)

We're going to be adding some tools to greenlock so that you can do
something like this to manage your sites and SSL certificates:

```js
npx greenlock defaults --subscriber-email jon@example.com --agree-to-terms true
```

```js
npx greenlock add --subject example.com --altnames example.com,*.example.com
```

```js
npx greenlock renew --all
```

---
_Source: https://npm.io/package/greenlock-manager-fs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
