https://github.com/alvarocastro/is-upper-case
Simple tool to check if a string is uppercase.
https://github.com/alvarocastro/is-upper-case
string uppercase validator
Last synced: 7 months ago
JSON representation
Simple tool to check if a string is uppercase.
- Host: GitHub
- URL: https://github.com/alvarocastro/is-upper-case
- Owner: alvarocastro
- License: mit
- Created: 2020-03-25T14:33:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T11:03:51.000Z (over 2 years ago)
- Last Synced: 2025-03-17T19:58:08.095Z (7 months ago)
- Topics: string, uppercase, validator
- Language: JavaScript
- Homepage:
- Size: 1.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# is-upper-case
[](https://www.npmjs.com/package/@alvarocastro/is-upper-case)
[](https://github.com/alvarocastro/is-upper-case/actions?query=workflow%3Abuild)
[](https://codeclimate.com/github/alvarocastro/is-upper-case/maintainability)
[](https://coveralls.io/github/alvarocastro/is-upper-case?branch=master)
[](https://bundlephobia.com/result?p=@alvarocastro/is-upper-case)
[](https://github.com/xojs/xo)
[](https://github.com/semantic-release/semantic-release)Simple tool to check if a string is uppercase.
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [Support](#support)## Install
```bash
npm install @alvarocastro/is-upper-case
```## Usage
```js
const isUpperCase = require('@alvarocastro/is-upper-case');isUpperCase('SOMETHING');
// => true
isUpperCase('something else');
// => false
isUpperCase('Another stuff');
// => false
```### isUpperCase(text)
#### text
Type: `string`
String to test.
## Contributing
Contributions are always welcome! Please run `npm test` beforehand to ensure everything is ok.
## Support
If you use this package please consider starring it :)