Skip to content

Commit

Permalink
Readme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 7, 2023
1 parent 184fc27 commit 217f062
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ config.set('foo', '1');

Type: `object`

**Important: I cannot provide support for this feature. It has some known bugs. I have no plans to work on it, but pull requests are welcome.**

You can use migrations to perform operations to the store whenever a **project version** is upgraded.

The `migrations` object should consist of a key-value pair of `'version': handler`. The `version` can also be a [semver range](https://github.com/npm/node-semver#ranges).
Expand Down Expand Up @@ -442,7 +444,7 @@ Example using YAML:

```js
import Conf from 'conf';
const yaml = require('js-yaml');
import yaml from 'js-yaml';

const config = new Conf({
projectName: 'foo',
Expand Down

0 comments on commit 217f062

Please sign in to comment.