Comments (7)
See #26
from node-sanitize-filename.
Clever idea! On one hand it makes the files look nicer, but on the other it makes it more difficult to know exactly what the filename is by looking at it. I guess it depends on the use case. I think I would be open to this as an option. I wonder what others think. /cc @joelmukuthu
from node-sanitize-filename.
Maybe it would be an issue if you are using something that requires ascii.
from node-sanitize-filename.
We don't support FAT filesystems so I don't think that will be an issue. Would you be interested in implementing this feature and sending a PR?
from node-sanitize-filename.
sure
from node-sanitize-filename.
Sorry for replying late as I see this has already progressed, but it's a pretty interesting idea. @goatandsheep do you have a use case that this aims to solve?
from node-sanitize-filename.
I have a use case, but it needs ascii, so after I did the PR, I did it differently
from node-sanitize-filename.
Related Issues (20)
- Allow targetting specific file systems HOT 14
- Verify that the replacement itself is valid? HOT 4
- ./ at the beginning of a file name produces a hidden file HOT 2
- Empty filename default HOT 2
- Add vendor to .npmignore HOT 3
- Browser Usage? HOT 5
- option to sanitize within BMP (Basic Multilingual Plane) HOT 1
- please put comma character also for sanitization. HOT 1
- Strict mode to throw on error? HOT 2
- typescript typings... HOT 2
- If last path name is number, sanitize make error. HOT 1
- Not deleting dots HOT 1
- Electron Buffer issue
- Configure additional invalid characters HOT 2
- Add an option to specify an extension HOT 1
- ES6 import/export syntax to use module HOT 2
- [unsure] Adjust how sanitize is made available for Typescript? HOT 2
- Should \u202f get sanitized? HOT 2
- Analysis: 100% of dependency updates in this repository can be merged.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sanitize-filename.