samara
v0.2.0
Published
Basic TypeScript-Functions.
Downloads
42
Maintainers
Readme
Samara
A small Set of basic TypeScript-Functions, which I use in different Projects.
Import
import * as sys from "samara";
OR
const sys = require("samara");
Classes
- IndexedObject
- JSONObject
- ObjectContainer
- SourceObject
Functions
- addBreak
- capitalizeFirstLetter
- createPath
- cutFromString
- extractFromString
- fillString
- getChancePerCent
- getChancePerMill
- getRandomIntPseudo
- getRequest
- isFileExist
- isNull
- isNumeric
- isValidKey
- readDirectory
- readFile
- removeAll
- removeBreaks
- removeBreaksAndTabs
- removeDoubleBreaks
- removeDoubleSpaces
- removeMultipleSpaces
- removeTabs
- removeTags
- replaceAll
- replaceUmlauts
- writeFile