We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't get the package to work. See: https://runkit.com/embed/w5uy7gdx8ba2
The text was updated successfully, but these errors were encountered:
Oh, I got it to work by extending the String prototype. See: https://runkit.com/embed/7rfag5apt41k
String.prototype.toURI = require('to-uri') console.log('test кс x'.toURI('_'))
I think this should be made more obvious in the readme, or is there something I'm missing?
Sorry, something went wrong.
It would also be good to have an example where it is imported, e.g.
import { toURI } from 'to-uri'; function get_url_string(id, name) { return `${toURI(name)}-${id}` }
Well, it's jus exported as a module and should do/work as specified in README. Need to check this one and add typings or rework with TypeScript :)
No branches or pull requests
I can't get the package to work. See: https://runkit.com/embed/w5uy7gdx8ba2
The text was updated successfully, but these errors were encountered: