Transform a string to PascalCase according to Microsoft's .NET Capitalization
Conventions similarly to change-case
.
import dotnetCase from '@kevinoid/dotnet-identifier-case';
dotnetCase('TEST_VALUE'); //=> "TestValue"
This package can be installed using npm, either globally or locally, by running:
npm install @kevinoid/dotnet-identifier-case
More examples can be found in the test specifications.
To use this module as a library, see the API Documentation.
Contributions are appreciated. Contributors agree to abide by the Contributor Covenant Code of Conduct. If this is your first time contributing to a Free and Open Source Software project, consider reading How to Contribute to Open Source in the Open Source Guides.
If the desired change is large, complex, backwards-incompatible, can have significantly differing implementations, or may not be in scope for this project, opening an issue before writing the code can avoid frustration and save a lot of time and effort.
This project is available under the terms of the MIT License. See the summary at TLDRLegal.