stdlib
stdlib copied to clipboard
✨ Standard library for JavaScript and Node.js. ✨
Part of #1062 ## Description > What is the purpose of this pull request? This pull request: - [x] Refactors the string package `@stdlib/string/truncate` - [x] Adds `@stdlib/string/base/truncate` - [x]...
Read XLSX files. `@stdlib/fs/read-xlsx`. This package should only focus on xlsx files. Other file formats should be addressed in separate packages.
Read a file containing comma-separated values. `@stdlib/fs/read-csv`. This package should leverage `parse-csv`. Additionally, a `readStream` variant is desirable.
Read a file containing tab-separated values. `@stdlib/fs/read-tsv`. This package should leverage `parse-tsv`. Additionally, a `readStream` variant is desirable.
Read a file containing delimiter-separated values. `@stdlib/fs/read-dsv`. This package should leverage `parse-dsv`. Additionally, a `readStream` variant is desirable.
Comma-separated values. `@stdlib/utils/parse-csv`. This is a special case of `@stdlib/utils/parse-dsv` and should just be a wrapper.
Tab-separated values. `@stdlib/utils/parse-tsv`. This is a special case of `@stdlib/utils/parse-dsv` and should just be a wrapper.
### Description Encountered an error when: In empty project ``` > npm install @stdlib/random-base-normal added 8175 packages in 5m 428 packages are looking for funding ``` it results size of...
## Checklist > Please ensure the following tasks are completed before submitting a feature request. - [x] Read and understood the [Code of Conduct][code-of-conduct]. - [x] Searched for existing issues...
### Description This RFC proposes adding a function to calculate the Hamming distance between two strings. The function should have the following signature `(a: string, b: string): number`. The function...