Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
is-lower-case
Advanced tools
The is-lower-case package is a simple utility that allows you to check if a given string is in lower case. It is useful when you need to validate text input or ensure that strings conform to certain case requirements.
Check if a string is in lower case
This feature allows you to verify if a string is entirely composed of lower case letters. The function returns a boolean value.
const isLowerCase = require('is-lower-case');
isLowerCase('string'); // true
isLowerCase('String'); // false
isLowerCase('STRING'); // false
This package provides the opposite functionality of is-lower-case. It checks if a string is in upper case instead of lower case. It is useful for similar scenarios where text case needs to be validated.
Validator is a more comprehensive string validation and sanitization library. It includes functions to check if a string is in lower case (isLowercase) as well as many other validation functions, making it a more versatile choice if you need additional validation capabilities.
The case package is a comprehensive utility for transforming and testing the case of strings. It includes methods for converting to lower case, upper case, and other case styles, as well as checking the case of strings. It offers more features than is-lower-case for case manipulation.
Returns
true
if the string is lower case only.
npm install is-lower-case --save
import { isLowerCase } from "is-lower-case";
isLowerCase("string"); //=> true
isLowerCase("dot.case"); //=> true
isLowerCase("PascalCase"); //=> false
isLowerCase("version 1.2.10"); //=> true
MIT
FAQs
Returns `true` if the string is lower case only
We found that is-lower-case demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.