https://github.com/purescript-contrib/purescript-options
Types and functions for dealing with JavaScript options objects
https://github.com/purescript-contrib/purescript-options
Last synced: 3 months ago
JSON representation
Types and functions for dealing with JavaScript options objects
- Host: GitHub
- URL: https://github.com/purescript-contrib/purescript-options
- Owner: purescript-contrib
- License: mit
- Created: 2014-11-23T21:40:00.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T22:43:37.000Z (almost 4 years ago)
- Last Synced: 2025-12-10T03:39:52.936Z (3 months ago)
- Language: PureScript
- Homepage:
- Size: 94.7 KB
- Stars: 20
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Options
[](https://github.com/purescript-contrib/purescript-options/actions?query=workflow%3ACI+branch%3Amain)
[](https://github.com/purescript-contrib/purescript-options/releases)
[](https://pursuit.purescript.org/packages/purescript-options)
[](https://github.com/ethul)
Types and functions for dealing with JavaScript options objects.
## Installation
Install `options` with [Spago](https://github.com/purescript/spago):
```sh
spago install options
```
## Quick start
See the module documentation for [Options.purs](./src/Data/Options.purs).
## Documentation
`options` documentation is stored in a few places:
1. Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-options).
2. Written documentation is kept in [the docs directory](./docs).
3. Usage examples can be found in [the test suite](./test).
If you get stuck, there are several ways to get help:
- [Open an issue](https://github.com/purescript-contrib/purescript-options/issues) if you have encountered a bug or problem.
- Ask general questions on the [PureScript Discourse](https://discourse.purescript.org) forum or the [PureScript Discord](https://purescript.org/chat) chat.
## Contributing
You can contribute to `options` in several ways:
1. If you encounter a problem or have a question, please [open an issue](https://github.com/purescript-contrib/purescript-options/issues). We'll do our best to work with you to resolve or answer it.
2. If you would like to contribute code, tests, or documentation, please [read the contributor guide](./CONTRIBUTING.md). It's a short, helpful introduction to contributing to this library, including development instructions.
3. If you have written a library, tutorial, guide, or other resource based on this package, please share it on the [PureScript Discourse](https://discourse.purescript.org)! Writing libraries and learning resources are a great way to help this library succeed.