๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’
Socket
DemoInstallSign in
Socket

efficient-strings

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

efficient-strings

Most efficient string builder. -Life magazine

1.0.2
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
ย 
Created
Source

๐Ÿš€๐Ÿš€Most efficient string builder you'll ever use!!๐Ÿš€๐Ÿš€

Examples

import { EfficientString } from 'efficient-strings';
or
const EfficientString = require('efficient-strings').EfficientString;

// Creates new string object with value "hello!" and build efficiency of 1
// Build efficiency is range an integer 1-5, 1 being the "most efficient I guess"
const string = new EfficientString('Hello!', 1);

//Log string's value
console.log(string.build());

//Log string's build time, note this wont be available until the string is built.
console.log(string.buildTime);

Keywords

string

FAQs

Package last updated on 14 Sep 2022

Did you know?

Socket

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.

Install

Related posts