laravel-helper-functions

1.0.4 • Public • Published

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();

Readme

Keywords

Package Sidebar

Install

npm i laravel-helper-functions

Weekly Downloads

1

Version

1.0.4

License

ISC

Last publish

Collaborators

  • mindesik