{"id":15854181,"url":"https://github.com/afeiship/next-trim-nl","last_synced_at":"2026-05-19T06:01:31.151Z","repository":{"id":57122889,"uuid":"206763365","full_name":"afeiship/next-trim-nl","owner":"afeiship","description":"Trim enter/return char.","archived":false,"fork":false,"pushed_at":"2021-01-09T08:17:37.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T13:48:54.580Z","etag":null,"topics":["next","nl","trim"],"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-06T09:45:10.000Z","updated_at":"2021-01-09T08:17:39.000Z","dependencies_parsed_at":"2022-08-24T14:59:32.627Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-trim-nl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/next-trim-nl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-trim-nl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-trim-nl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-trim-nl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-trim-nl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-trim-nl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-trim-nl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266821709,"owners_count":23989820,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["next","nl","trim"],"created_at":"2024-10-05T19:41:03.359Z","updated_at":"2026-05-19T06:01:26.127Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-trim-nl\n\u003e Trim enter/return char.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-trim-nl\n```\n\n## usage\n```js\nimport '@jswork/next-trim-nl';\n\nnx.trimNl(`少年时\n想碰到一个聂小倩\n拼了性命爱一场\n天亮前带着她的魂魄远走他乡`);\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-trim-nl/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-trim-nl\n[version-url]: https://npmjs.org/package/@jswork/next-trim-nl\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-trim-nl\n[license-url]: https://github.com/afeiship/next-trim-nl/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-trim-nl\n[size-url]: https://github.com/afeiship/next-trim-nl/blob/master/dist/next-trim-nl.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-trim-nl\n[download-url]: https://www.npmjs.com/package/@jswork/next-trim-nl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-trim-nl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-trim-nl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-trim-nl/lists"}