
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@stdlib/string-base-uncapitalize
Advanced tools
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
Uncapitalize the first character of a string.
npm install @stdlib/string-base-uncapitalize
var uncapitalize = require( '@stdlib/string-base-uncapitalize' );
Uncapitalizes the first character of a string.
var out = uncapitalize( 'Last man standing' );
// returns 'last man standing'
out = uncapitalize( 'Hidden Treasures' );
// returns 'hidden Treasures'
var uncapitalize = require( '@stdlib/string-base-uncapitalize' );
var out = uncapitalize( 'Last man standing' );
// returns 'last man standing'
out = uncapitalize( 'Presidential election' );
// returns 'presidential election'
out = uncapitalize( 'JavaScript' );
// returns 'javaScript'
out = uncapitalize( 'Hidden Treasures' );
// returns 'hidden Treasures'
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2024. The Stdlib Authors.
1.0.0 (2024-07-25)
<section class="features">67858b3
- improve type safety67858b3
: The return types are now more specific. This may break existing code that relies on less strict typing, but should not affect most users. To preserve the prior behavior, you can cast the return value to string
via a type assertion.67858b3
- feat: improve type safety (by Philipp Burckhardt)A total of 1 person contributed to this release. Thank you to this contributor:
FAQs
Uncapitalize the first character of a string.
The npm package @stdlib/string-base-uncapitalize receives a total of 552 weekly downloads. As such, @stdlib/string-base-uncapitalize popularity was classified as not popular.
We found that @stdlib/string-base-uncapitalize demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.