{"id":17402787,"url":"https://github.com/thlorenz/dev-null","last_synced_at":"2025-06-16T02:33:11.891Z","repository":{"id":10532898,"uuid":"12726417","full_name":"thlorenz/dev-null","owner":"thlorenz","description":"/dev/null for node streams","archived":false,"fork":false,"pushed_at":"2017-06-12T08:12:25.000Z","size":132,"stargazers_count":43,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T17:04:00.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/thlorenz.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":"2013-09-10T10:08:14.000Z","updated_at":"2023-08-02T12:49:13.000Z","dependencies_parsed_at":"2022-08-30T19:12:04.031Z","dependency_job_id":null,"html_url":"https://github.com/thlorenz/dev-null","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Fdev-null","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Fdev-null/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Fdev-null/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thlorenz%2Fdev-null/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thlorenz","download_url":"https://codeload.github.com/thlorenz/dev-null/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232905681,"owners_count":18594792,"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":[],"created_at":"2024-10-16T18:25:08.356Z","updated_at":"2025-01-07T16:32:14.647Z","avatar_url":"https://github.com/thlorenz.png","language":"JavaScript","readme":"# dev-null [![build status](https://secure.travis-ci.org/thlorenz/dev-null.png)](http://travis-ci.org/thlorenz/dev-null)\n\n`/dev/null` for node streams\n\nUse it whenever you need to interrupt stream flow for instance if you want to log the state of a stream instead of its\noutput.\n\n```js\n// without devnull\nvar numbers = require('../test/fixtures/number-readable')\n\nnumbers({ to: 2 })\n  .on('data', function (d) { console.log(d.toString()) });\n// =\u003e \n// 0\n// 1\n// 2\n```\n\n```js\n// piping into devnull\nvar devnull = require('dev-null');\nvar numbers = require('../test/fixtures/number-readable');\n\nnumbers({ to: 2 })\n  .pipe(devnull())\n  .on('data', function (d) { console.log(d.toString()) });\n\n// =\u003e (no output)\n```\n\n## Installation\n\n    npm install dev-null\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthlorenz%2Fdev-null","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthlorenz%2Fdev-null","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthlorenz%2Fdev-null/lists"}