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

volume3D incorrectly decamelizes volume_3d #26

Open
fc opened this issue Aug 12, 2020 · 2 comments
Open

volume3D incorrectly decamelizes volume_3d #26

fc opened this issue Aug 12, 2020 · 2 comments

Comments

@fc
Copy link
Contributor

fc commented Aug 12, 2020

How to reproduce the issue:

const camelcase = require('camelcase');
const decamelize = require('decamelize');

console.log(camelcase('volume_3d')); // Output: volume3D
console.log(decamelize('volume3D'));  // Output: volume3_d
@sindresorhus
Copy link
Owner

console.log(decamelize('volume3D')); // Output: volume3_d

What is the expected output?

@dohomi
Copy link

dohomi commented Oct 16, 2020

@sindresorhus the expected output would be volume_3d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants