Skip to content

Conversation

@arvind0598
Copy link
Contributor

Fixes #2

Currently in a draft state to add more methods if needed.

Copy link
Owner

@MatthewBlanski MatthewBlanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your hard work on this. I've added a few small comments but as this repo doesn't have a style guide they are more observations on the uses within the current code than anything specific.

Comment on lines +4 to +6
* @summary
* Returns an empty string if its a null-ish value, otherwise returns
* the original string.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description is a good thing to have. This does not follow the same-line example indicated in JS Doc for @summary

@@ -1,6 +1,9 @@
const StringUtils = require('../utils/stringUtils');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within this repo we're using the file extension in the require path. It's a mild stylistic issue and we don't have a style guide.

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

Successfully merging this pull request may close these issues.

Move String utilities to their own class

2 participants