Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score100%
Downloads9/wk
Publisheda year ago (0.2.3)

A string utility package for manipulation, analysis, comparison, transformation, n-grams, and similarity metrics.

function of
of(...args: string[]): string

Create string from arguments, like Array.of().

Examples

Example 1

xstring.of('a', 1);
// → 'a1'

xstring.of(1, 2);
// → '12'

xstring.of();
// → ''

Parameters

...args: string[]

Return Type

p + q + ... | [p, q, ...] = args

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@nodef/extra-string

Import symbol

import { of } from "@nodef/extra-string";
or

Import directly with a jsr specifier

import { of } from "jsr:@nodef/extra-string";