Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
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.
Check if a string is lower case.
npm install is-lower-case --save
var isLowerCase = require('is-lower-case')
isLowerCase('string') //=> true
isLowerCase('String') //=> false
isLowerCase('STRING') //=> false
Includes a TypeScript definition.
MIT
FAQs
Returns `true` if the string is lower case only
The npm package is-lower-case receives a total of 1,680,570 weekly downloads. As such, is-lower-case popularity was classified as popular.
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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.