ppx_spice
ReScript PPX which generates the JSON (de)serializers
File Explorer
Download Latest Version (.zip)- config.json
- README.md
- build_linux.yml
- build_macos.yml
- build_windows.yml
- print_esy_cache.js
- publish.yml
- test.yml
- settings.json
- GUIDE.md
- tasks.json
- Advanced.mjs
- Advanced.res
- Basic.mjs
- Basic.res
- CustomCodecs.mjs
- CustomCodecs.res
- CustomCodecs2.mjs
- CustomCodecs2.res
- CustomCodecs3.mjs
- CustomCodecs3.res
- NestedRecordVariants.mjs
- NestedRecordVariants.res
- OptionAndNull.mjs
- OptionAndNull.res
- Spice.mjs
- Spice.res
- Spice_Codecs.mjs
- Spice_Codecs.res
- TopLevelOptions.mjs
- TopLevelOptions.res
- Tuple.mjs
- Tuple.res
- UntaggedVariant.mjs
- UntaggedVariant.res
- Variants.mjs
- Variants.res
- Variants2.mjs
- Variants2.res
- .gitignore
- package.json
- pnpm-lock.yaml
- rescript.json
- settings.json
- bin.ml
- dune
- codecs.ml
- codecs.mli
- decode_cases.ml
- dune
- polyvariants.ml
- polyvariants.mli
- ppx_spice.ml
- records.ml
- records.mli
- signature.ml
- signature.mli
- structure.ml
- structure.mli
- tuple.ml
- tuple.mli
- utils.ml
- variants.ml
- variants.mli
- Spice.res
- Spice_Codecs.res
- .ocamlformat
- dune
- dune-project
- dune-workspace
- ppx_spice.opam
- tasks.json
- InvalidAsPayload.res
- .gitignore
- rescript.json
- expect-invalid-as-payload.mjs
- Arrays.mjs
- Arrays.res
- Dicts.mjs
- Dicts.res
- EncodeDecode.mjs
- EncodeDecode.res
- Exponent.mjs
- Exponent.res
- GenericTypeParams.mjs
- GenericTypeParams.res
- GenericTypeParams.resi
- LargeRecordRepro.mjs
- LargeRecordRepro.res
- OptionalFieldRecords.mjs
- OptionalFieldRecords.res
- Polyvariants.mjs
- Polyvariants.res
- Polyvariants.resi
- Records.mjs
- Records.res
- Records.resi
- RecordWithManyFields.mjs
- RecordWithManyFields.res
- RecordWithSingleField.mjs
- RecordWithSingleField.res
- Results.mjs
- Results.res
- SmallRecord.mjs
- SmallRecord.res
- Spice.mjs
- Spice.res
- Spice_Codecs.mjs
- Spice_Codecs.res
- TopLevelOptions.mjs
- TopLevelOptions.res
- TopLevelOptions.resi
- Tuples.mjs
- Tuples.res
- Variants.mjs
- Variants.res
- Variants.resi
- arrays_test.mjs
- arrays_test.res
- dicts_test.mjs
- dicts_test.res
- encode_decode_test.mjs
- encode_decode_test.res
- generic_type_params_test.mjs
- generic_type_params_test.res
- optional_field_records_test.mjs
- optional_field_records_test.res
- polyvariants_test.mjs
- polyvariants_test.res
- records_test.mjs
- records_test.res
- results_test.mjs
- results_test.res
- top_level_options_test.mjs
- top_level_options_test.res
- tuples_test.mjs
- tuples_test.res
- variants_test.mjs
- variants_test.res
- Index.mjs
- Index.res
- .gitignore
- package.json
- pnpm-lock.yaml
- README.md
- rescript.json
- .editorconfig
- .gitignore
- .npmignore
- AGENTS.md
- CHANGELOG.md
- LICENSE
- package.json
- postInstall.js
- ppx
- ppx.cmd
- README.md
- rescript.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/mununki/ppx_spice
Downloads the entire project code from GitHub to your computer.
cd ppx_spice
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn add -D @mununki/ppx-spice
Type this command into your terminal and run it.
pnpm install
Downloads and installs the libraries listed in package.json.
pnpm res:clean && pnpm res:watch
Type this command into your terminal and run it.
pnpm test:watch
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
