GitShow/sindresorhus/truncate-url
sindresorhus

truncate-url

Truncate a URL to a specific length

by sindresorhus
Star on GitHubForknpm

JavaScript

62 stars8 forks5 contributorsQuiet · 11mo agoSince 2015v3.0.0MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus17 contributions
princejwesley
princejwesley2 contributions
schnittstabil
schnittstabil1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 discussion · Last activity 11mo ago
See all on GitHub →
sindresorhus
More truncationOpenIssue

https://github.com/sindresorhus/humanize-url/issues/1#issuecomment-139407068

sindresorhus · 4y ago

Recent fixes

View closed PRs →
Zauberbutter
Move to WHATWG URL APIClosedIssue

This package uses the deprecated legacy URL API, so I tried to make it work with the new WHATWG URL API. But that's not possible due to the new path encoding → becomes when formatting the URL. Maybe we need to manually format the URL or insert instead.

Zauberbutter · 11mo ago
philwilliammee
(!) Unresolved dependencies node:url (imported by node_modules/truncate-url/index.js)ClosedIssue

Using Rollup it gives a warning. shouldn't this be

philwilliammee · 5y ago
Zauberbutter
Add TypeScript definitionMergedPR
Zauberbutter · 5y ago
Structured data for AI agents

Repository: sindresorhus/truncate-url. Description: Truncate a URL to a specific length Stars: 62, Forks: 8. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (11mo ago). Open PRs: 0, open issues: 1. Last activity: 11mo ago. Community health: 71%. Top contributors: sindresorhus, princejwesley, schnittstabil, Richienb.

·@ofershap

Replace github.com with gitshow.dev