{"id":15979091,"url":"https://github.com/perry-mitchell/add-newlines","last_synced_at":"2026-06-08T21:30:14.265Z","repository":{"id":57173191,"uuid":"85039762","full_name":"perry-mitchell/add-newlines","owner":"perry-mitchell","description":"Add newlines to a batch of files, if they aren't already there","archived":false,"fork":false,"pushed_at":"2017-05-14T20:20:37.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T14:05:43.036Z","etag":null,"topics":["build-tool","codemod","devtools","formatting","newline"],"latest_commit_sha":null,"homepage":null,"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/perry-mitchell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-03-15T07:00:40.000Z","updated_at":"2017-05-14T20:21:13.000Z","dependencies_parsed_at":"2022-08-24T13:21:30.900Z","dependency_job_id":null,"html_url":"https://github.com/perry-mitchell/add-newlines","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fadd-newlines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fadd-newlines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fadd-newlines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fadd-newlines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perry-mitchell","download_url":"https://codeload.github.com/perry-mitchell/add-newlines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240215710,"owners_count":19766456,"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":["build-tool","codemod","devtools","formatting","newline"],"created_at":"2024-10-07T23:41:07.246Z","updated_at":"2026-06-08T21:30:14.154Z","avatar_url":"https://github.com/perry-mitchell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add Newlines\nAdd newlines to a batch of files, if they aren't already there\n\n[![Build Status](https://travis-ci.org/perry-mitchell/add-newlines.svg?branch=master)](https://travis-ci.org/perry-mitchell/add-newlines)\n\n[![NPM](https://nodei.co/npm/add-newlines.png)](https://www.npmjs.com/package/add-newlines)\n\n## About\nThis command-line utility is designed to scrape a list of files to analyse their new line characters. It replaces invalid new-line formats at the end of each file with a single form.\n\nInstall it globally to be able to use it anywhere:\n\n```shell\nnpm install -g add-newlines\n\n# run with addnl:\naddnl items/*.*\n```\n\nOr locally to use within `package.json` scripts or from within `node_modules/.bin/`:\n\n```shell\nnpm install add-newlines --save-dev\n```\n\n_package.json:_\n\n```json\n{\n    \"scripts\": {\n        \"newlines\": \"addnl source/**/*.js\"\n    }\n}\n```\n\n## Usage\nInstall the cli globally or locally, and use the `addnl` executable to specify a list of files:\n\n```shell\naddnl source/**/*.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fadd-newlines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperry-mitchell%2Fadd-newlines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fadd-newlines/lists"}