{"id":28844124,"url":"https://github.com/yord/pxi-dust","last_synced_at":"2026-05-19T10:33:34.105Z","repository":{"id":47930313,"uuid":"226841937","full_name":"Yord/pxi-dust","owner":"Yord","description":"🧚:sparkles:pxi-dust is a plugin with basic operations for pxi (pixie), the small, fast, and magical command-line data processor.","archived":false,"fork":false,"pushed_at":"2023-01-05T02:48:25.000Z","size":5657,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T17:03:48.226Z","etag":null,"topics":["csv","data-processing","deserializer","dsv","json","marshaller","parser","pixie","pxi","serializer","ssv","tsv"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-09T10:11:52.000Z","updated_at":"2020-05-31T21:44:54.000Z","dependencies_parsed_at":"2023-02-03T07:02:15.959Z","dependency_job_id":null,"html_url":"https://github.com/Yord/pxi-dust","commit_stats":null,"previous_names":["yord/pxi-base","yord/pfx-base"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/Yord/pxi-dust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yord%2Fpxi-dust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yord%2Fpxi-dust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yord%2Fpxi-dust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yord%2Fpxi-dust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yord","download_url":"https://codeload.github.com/Yord/pxi-dust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yord%2Fpxi-dust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260793384,"owners_count":23064033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","data-processing","deserializer","dsv","json","marshaller","parser","pixie","pxi","serializer","ssv","tsv"],"created_at":"2025-06-19T17:07:52.299Z","updated_at":"2026-05-19T10:33:33.799Z","avatar_url":"https://github.com/Yord.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![pxi-dust teaser][teaser]\n\n🧚:sparkles:`pxi-dust` is a plugin with basic operations for `pxi` (pixie), the small, fast, and magical command-line data processor.\n\nSee the [`pxi` github repository][pxi] for more details!\n\n[![node version][shield-node]][node]\n[![npm version][shield-npm]][npm-package]\n[![license][shield-license]][license]\n[![PRs Welcome][shield-prs]][contribute]\n[![linux unit tests status][shield-unit-tests-linux]][actions]\n[![macos unit tests status][shield-unit-tests-macos]][actions]\n[![windows unit tests status][shield-unit-tests-windows]][actions]\n\n## Installation\n\n\u003e :ok_hand: `pxi-dust` comes preinstalled in `pxi`.\n\u003e No installation necessary.\n\u003e If you still want to install it, proceed as described below.\n\n`pxi-dust` is installed in `~/.pxi/` as follows:\n\n```bash\nnpm install pxi-dust\n```\n\nThe plugin is included in `~/.pxi/index.js` as follows:\n\n```js\nconst dust = require('pxi-dust')\n\nmodule.exports = {\n  plugins:  [dust],\n  context:  {},\n  defaults: {}\n}\n```\n\nFor a much more detailed description, see the [`.pxi` module documentation][pxi-module].\n\n## Extensions\n\nThis plugin comes with the following `pxi` extensions:\n\n|                     | Description                                                                                                                                                                                      |\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `line` chunker      | Divides data on line breaks. A lot of data formats like CSV, TSV, and JSON line build on this separation.                                                                                        |\n| `map` applier       | Applies `pxi`'s functions to each individual line. Always returns a single result, unless an error is thrown during function application.                                                        |\n| `flatMap` applier   | Applies `pxi`'s functions to each individual line. May return any number of results, including none, thus being able to change the length of a file.                                             |\n| `filter` applier    | Treats `pxi`'s functions as a conjunction of predicates and applies it to each individual line. If any predicate is false, the line is dropped, if all predicates return true, the line is kept. |\n| `string` serializer | Serializes each transformed JSON into a string separated by newlines.                                                                                                                            |\n\n## Reporting Issues\n\nPlease report issues [in the tracker][issues]!\n\n## License\n\n`pxi-dust` is [MIT licensed][license].\n\n[actions]: https://github.com/Yord/pxi-dust/actions\n[contribute]: https://github.com/Yord/pxi\n[issues]: https://github.com/Yord/pxi/issues\n[license]: https://github.com/Yord/pxi-dust/blob/master/LICENSE\n[node]: https://nodejs.org/\n[npm-package]: https://www.npmjs.com/package/pxi-dust\n[pxi]: https://github.com/Yord/pxi\n[pxi-module]: https://github.com/Yord/pxi#pxi-module\n[shield-license]: https://img.shields.io/npm/l/pxi-dust?color=yellow\u0026labelColor=313A42\n[shield-node]: https://img.shields.io/node/v/pxi-dust?color=red\u0026labelColor=313A42\n[shield-npm]: https://img.shields.io/npm/v/pxi-dust.svg?color=orange\u0026labelColor=313A42\n[shield-prs]: https://img.shields.io/badge/PRs-welcome-green.svg?labelColor=313A42\n[shield-unit-tests-linux]: https://github.com/Yord/pxi-dust/workflows/linux/badge.svg?branch=master\n[shield-unit-tests-macos]: https://github.com/Yord/pxi-dust/workflows/macos/badge.svg?branch=master\n[shield-unit-tests-windows]: https://github.com/Yord/pxi-dust/workflows/windows/badge.svg?branch=master\n[teaser]: https://github.com/Yord/pxi/blob/master/teaser.gif?raw=true","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyord%2Fpxi-dust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyord%2Fpxi-dust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyord%2Fpxi-dust/lists"}