Replies: 2 comments
-
Personally, I think that namespace usage is perfectly fine! |
Beta Was this translation helpful? Give feedback.
-
Someone added a comment with valid points here and then deleted it, apparently. I still want to see these points here and comment on them.
|
Beta Was this translation helpful? Give feedback.
-
I plan to release a new companion package that converts html to valid markdown rather than arbitrary text (was planned for simultaneous release with v9 but is going to be delayed). There is a potential for packages targeting different output formats as well.
This raises the naming issue.
html-to-text
is a straightforward descriptive name. There is no brand or anything.It would be natural to seek for a similar descriptive name for the other package.
But there is a well-known issue with npmjs.com - any obvious names are long gone. Some used by other somewhat meaningful packages, many fill the graveyard of unfinished/unmaintained packages.
I've asked an owner of one such dead package if he could transfer the ownership but got no response.
My packages have the same core that governs the processing of input html and other input formats are nowhere on the horizon, while the potential for different output formats had a place in my head for a while and finally happened with a little external stimulus.
I decided I might be able to group my packages under
@html-to/
namespace.(No need to worry,
html-to-text
is not going away, there would be a long transition and a safe wrapper at the old name in case the transition happens.)The new package names would look like this:
There is one more issue. I want to publish separate CLI packages. This namespace approach leaves the most obvious package names to be not very pretty:
So far, I have no better idea. My current plan is not the prettiest, but I think it is workable. What do you think?
I'm open for other suggestions, in case I'm missing something, or someone has a great brand idea.
If you have better diplomacy skill and can convince the owner of the dead package linked above - that might also solve the issue.
Beta Was this translation helpful? Give feedback.
All reactions