Comments (5)
Even if it did that, there's no guarantee that the file system is not already out of sync from your expectations and the filename has been used.
from unused-filename.
If I'm understanding this correctly you're kind of saying that since there would still be issues to take into consideration, which would be outside of the scope of this library, it would probably be better to handle this particular issue and all the others together outside of this library? 🤔
If so I'd be happy to close this issue and handle it and the other issues in a separate write-to-unused-filename
package.
from unused-filename.
Exactly. Happy to link to your module if you make it.
from unused-filename.
👍 I'll post a link to it here when it's published.
from unused-filename.
5 months later (🙀), but here it is: write-unused-path. In the end I thought it made sense to write get-unused-path too. While I was at it I got a little carried away and I rewrote filenamify too, but instead of stripping out forbidden characters it replaces them with similar-looking unicode characters, I'm not sure if that's actually a good idea but I'll give it a try.
I'm closing the other issue I opened in this repo as I don't need it anymore.
from unused-filename.
Related Issues (6)
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 unused-filename.