NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2913 most downloaded on npm
Convert a string to a valid safe filename
Last release 1 months ago
28 Aug 2026
Release timing varies
gaps range from 2 months to 2.4 years
Most releases are documented
notes for 15 of 22 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
22 releases · first in 2015
Fix Windows reserved device name handling 4eb7d0c
Fix handling of Windows reserved names with extensions ( #46 ) faae880
One column per quarter.
Fix suport for spaces and periods in replacement string 0df0d46
Previously, it used the incorrect NFD Unicode normalization. It now uses the correct NFC normalization. This could be a breaking change if you stored…
NFD Unicode normalization. It now uses the correct NFC normalization. This could be a breaking change if you stored the filenames and then compare, as they won't match. You could run a NFC normalization on the stored once to fix that.Prevent stripping of outer replaced characters ( #38 ) 7d4846f
Fix overstripping of replacement character ( #33 ) 69989b8
Unicode normalize the filename 4a0d964
Fix filenames truncated by maxLength not keeping their extension ( #27 ) 8c52cb1
Fix missing export of the Options type fbb7353
Options type fbb7353Require Node.js 12.20 ( #25 ) c2000ac
Remove trailing periods for consistency on Windows (#23) 34da1ce
https://github.com/sindresorhus/filenamify/compare/v4.2.0...v4.3.0
Provide a browser-only export (#17) d8795d3
https://github.com/sindresorhus/filenamify/compare/v4.1.0...v4.2.0
Add maxLength option (#9) 757baf3
maxLength option (#9) 757baf3https://github.com/sindresorhus/filenamify/compare/v4.0.0...v4.1.0
Only use a CommonJS export for the TypeScript definition 975b51f You need to change import filenamify from 'filenamify'; to import filenamify = requir
Breaking:
import filenamify from 'filenamify'; to import filenamify = require('filenamify');Filenamify interface 4685cc1https://github.com/sindresorhus/filenamify/compare/v3.0.0...v4.0.0
Add TypeScript definition (#7) 757527d
Breaking:
Enhancements:
https://github.com/sindresorhus/filenamify/compare/v2.1.0...v3.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →