Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@strudel/sampler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@strudel/sampler
This package allows you to serve your samples on disk to the strudel REPL.
cd ~/your/samples/
npx @strudel/samplerThis will run a server on http://localhost:5432.
You can now load the samples via:
samples('http://localhost:5432')Options
LOG=1 npx @strudel/sampler # adds logging
PORT=5555 npx @strudel/sampler # changes portstatic json
when running with --json, you will simply get the json logged back:
npx --yes @strudel/sampler --json > strudel.jsonthis is useful if you want to create a sample pack from the current folder.