Skip to content

mtbksouth/laravel-helper-functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Helper Functions

See Laravel docs for methods.

var lh = require('laravel-helper-functions');

console.log(lh.camelCase('Foo bar Baz'));

Notes

  • Not all functions are available

List of available functions:

// Strings
camel_case();
class_basename();
e();
ends_with();
snake_case();
str_limit();
starts_with();
str_contains();
str_finish();
str_is();
str_plural();
str_random();
str_singular();
str_slug();
studly_case();
title_case();

Packages

No packages published

Languages

  • JavaScript 100.0%