GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rudashi/stringable: Fluent Strings in Laravel style for javascript. Heavily inspired by Laravel stringable.

BranchesTags
Open more actions menu

Latest commit

 

History

130 Commits
130 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
dist
dist
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
types
types
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
jest.config.js
jest.config.js
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Stringable

GitHub last commit GitHub repo size GitHub Workflow Status Twitter Follow

Javascript version's of Laravel's Illuminate\Support\Str

Based on great Laravel string helper

Installation

NPM

npm install --save-dev stringable-laravel

Yarn

yarn add stringable-laravel --save

CDN

<script src='https://unpkg.com/stringable-laravel@latest/dist/index.js'></script>

Usage

Import package:

const {Str, Stringable} = require('stringable-laravel');

//or

import {Str, Stringable} from 'stringable-laravel';

Typical usage:

const {Str, Stringable} = require('stringable-laravel');

const message = 'hello world';

console.log(Stringable.of(message).upper().toString());

// HELLO WORLD

console.log(Str.uuid().toString());

// 3b097562-88aa-4f50-b28a-d6bce77c8329

Introduction

Fluent strings provide a more fluent, object-oriented interface for working with string values, allowing you to chain multiple string operations together using a more readable syntax compared to traditional string operations.

Available Methods

List of all fluent methods you can find here.

Strings methods

List of all static methods you can find here.

Strings functions

List of all module functions here.

Changelog

Detailed changes for each release are documented in the release notes.

About

Fluent Strings in Laravel style for javascript. Heavily inspired by Laravel stringable.

Topics

helperjslaravelstrstringstringabletsutil

Resources

Readme
ISC license

Code of conduct

Code of conduct
Activity

Stars

5 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.