1.0.5 • Published 9 months ago

@paul-fletes/acs-3310-js-string-library v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

ACS-3310-JS-STRING-LIBRARY

npm (scoped) npm bundle size

A collection of helper functions for string manipulation in JavaScript. Assignment for Applied Computer Science 3310-Javascript Libraries Fall 2023.

Installation

You can install this library via npm:

npm install @paul-fletes/acs-3310-js-string-library

Usage

You can use the string manipulation functions by requiring them in your files:

const strFunc = require('acs-3310-js-string-library');

// Use the helper functions
const inputString = 'Hello, world!';
const result = strFunc.capitalize(inputString);
console.log(result); // Output: 'Hello, world!'

Available Functions

The following helper functions are available to use:

  • allCaps(input: string): string
  • camelCase(input: string): string
  • capitalize(input: string): string
  • capitalizeWords(input: string): string
  • isEmpty(input: string): boolean
  • kebabCase(input: string): string
  • makeHashTag(input: string): string
  • removeExtraSpaces(input: string): string
  • shift(input: string): string
  • snakeCase(input: string): string
1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago