Skip to content
New issue

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

Error in readme, and throws on non-ascii #1

Open
retorquere opened this issue Jul 21, 2018 · 0 comments
Open

Error in readme, and throws on non-ascii #1

retorquere opened this issue Jul 21, 2018 · 0 comments

Comments

@retorquere
Copy link

The README says to call tc(...), but it should be tc.titleCase(...). Moreover this errors out:

const tc = require('txttools-titlecase');
console.log(tc.titleCase('hello'));
console.log(tc.titleCase("日本型排外主義: 在特会・外国人参政権・東アジア地政学"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant