Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cool-text-package

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cool-text-package - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

46

package.json
{
"name": "cool-text-package",
"version": "0.0.1",
"description": "these are amazing utilities that everyone should use.",
"main": "problems.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/noltron000/library-challenge.git"
},
"keywords": [
"cool",
"text",
"package",
"library"
],
"author": "noltron000",
"license": "ISC",
"bugs": {
"url": "https://github.com/noltron000/library-challenge/issues"
},
"homepage": "https://github.com/noltron000/library-challenge#readme"
"name": "cool-text-package",
"version": "0.0.2",
"description": "these are amazing utilities that everyone should use.",
"main": "problems.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/noltron000/library-challenge.git"
},
"keywords": [
"cool",
"text",
"package",
"library"
],
"author": "noltron000",
"license": "ISC",
"bugs": {
"url": "https://github.com/noltron000/library-challenge/issues"
},
"homepage": "https://github.com/noltron000/library-challenge#readme"
}

@@ -1,11 +0,18 @@

1. Write a function that uppercases the first character of string
1. Write a function that uppercases the first letter of each word in a string
1. Write a function that uppercases every other letter
1. Write a function that removes all whitespace from a given string
1. Write a function that removes only the extra whitespace from a given string (example: `“ a b ” → “a b”`)
1. Write a function that makes all characters uppercase. (this is the same as .toUppercase())
1. Write a function that removes extra spaces and replaces spaces with the hyphen "-", and makes all characters lowercase.
1. Removes extra space and replaces spaces with an underscore "_", and makes all characters lowercase.
1. Lowercases the first character of the first word. Then uppercases the first character of all other words, and removes all spaces.
![](https://img.shields.io/github/issues/noltron000/library-challenge.svg)
![](https://img.shields.io/github/forks/noltron000/library-challenge.svg)
![](https://img.shields.io/github/stars/noltron000/library-challenge.svg)
![](https://img.shields.io/github/license/noltron000/library-challenge.svg)
![](https://img.shields.io/twitter/url/https/github.com%2Fnoltron000%2Flibrary-challenge.svg)
1. `String.prototype.upperFirst`Write a function that uppercases the first character of string
1. `String.prototype.lowerFirst`
1. `String.prototype.upperWord`Write a function that uppercases the first letter of each word in a string
1. `String.prototype.upperWiggle`Write a function that uppercases every other letter
1. `String.prototype.removeSpaces`Write a function that removes all whitespace from a given string
1. `String.prototype.trimSpaces`Write a function that removes only the extra whitespace from a given string (example: `“ a b ” → “a b”`)
1. `String.prototype.allCaps`Write a function that makes all characters uppercase. (this is the same as .toUppercase())
1. `String.prototype.kababCase`Write a function that removes extra spaces and replaces spaces with the hyphen "-", and makes all characters lowercase.
1. `String.prototype.snakeCase`Removes extra space and replaces spaces with an underscore "_", and makes all characters lowercase.
1. `String.prototype.camelCase`Lowercases the first character of the first word. Then uppercases the first character of all other words, and removes all spaces.
[Homework 1](https://github.com/Make-School-Courses/FEW-2.1-Writing-JavaScript-Libraries/blob/master/Assignments/assignment-1-string-lib.md)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc