mirror of https://github.com/abpframework/abp.git
2 changed files with 10 additions and 0 deletions
@ -1 +1,2 @@ |
|||||
export * from './angular'; |
export * from './angular'; |
||||
|
export * from './text'; |
||||
|
|||||
@ -0,0 +1,9 @@ |
|||||
|
import { strings } from '@angular-devkit/core'; |
||||
|
|
||||
|
export const camel = strings.camelize; |
||||
|
export const kebab = strings.dasherize; |
||||
|
export const lower = (text: string) => text.toLowerCase(); |
||||
|
export const macro = (text: string) => strings.underscore(text).toUpperCase(); |
||||
|
export const pascal = strings.classify; |
||||
|
export const snake = strings.underscore; |
||||
|
export const upper = (text: string) => text.toUpperCase(); |
||||
Loading…
Reference in new issue