1.0.4 • Published 8 years ago
laravel-helper-functions v1.0.4
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();