Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uetchy/ple
Streamlined PList Editor
https://github.com/uetchy/ple
plist property-list
Last synced: 4 days ago
JSON representation
Streamlined PList Editor
- Host: GitHub
- URL: https://github.com/uetchy/ple
- Owner: uetchy
- License: apache-2.0
- Created: 2020-07-19T06:49:37.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T12:57:25.000Z (over 2 years ago)
- Last Synced: 2024-09-19T07:18:57.828Z (16 days ago)
- Topics: plist, property-list
- Language: TypeScript
- Homepage:
- Size: 264 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ple
A streamlined plist editor.
[![npm-version]][npm-url]
[![npm-downloads]][npm-url][npm-version]: https://badgen.net/npm/v/ple
[npm-downloads]: https://badgen.net/npm/dt/ple
[npm-url]: https://npmjs.org/package/ple## Install
```bash
npm i -g ple
```## Use
### CLI
```bash
ple Info.plist # parse and print content
ple Info.plist --json # parse and print content in JSON
ple Info.plist version # parse and print a value of `version`
ple Info.plist version v1.0.0 # rewrite a value of `version`
```### Node.js
#### `readPlist`
```js
import { readPlist } from "ple";const plistValue = readPlist(plistPath, key);
```#### `rewritePlist`
```js
import { rewritePlist } from "ple";rewritePlist(plistPath, key, value);
```## Contribute
See [Contribution Guide](./CONTRIBUTING.md)
### Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
uetchy
π» π
RafaΕ Pocztarski
π¦
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome!
**Special thanks:**
- [RafaΕ Pocztarski](https://github.com/rsp) for donating package name `ple`.