@changesets/read
Version:
Read changesets from disc, and return the information as JSON
15 lines (9 loc) • 409 B
Markdown
# @changesets/read
[](https://npmjs.com/package/@changesets/read)
[](./CHANGELOG.md)
Read in all changesets from a repository.
```js
import read from "@changesets/read";
let changesets = await getChangesets(cwd);
```
This returns an array of formatted changesets.