Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

String package provides functionality to generate a fake string value.

License

faker-javascript/string

Repository files navigation

String

String package provides functionality to generate a fake string value.

Version node-current License

Install

npm

npm install @fakerjs/string --save-dev

yarn

yarn add @fakerjs/string -D

Usage

import string from '@fakerjs/string';
string();
//=> 3Kekravwvb78vP9CQPP1vaRCgi4dZETOktxzf8pF5gufFqh8mOICMqjRP4y8UxoI
string({length: 10});
//=> FxvqHNFNUu
string({length: 10, keyspace: '#@$%&+='});
//=> $+#%#&$$=@

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko

About

String package provides functionality to generate a fake string value.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /