samara

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i samara

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

33.9 kB

Total Files

18

Last publish

Collaborators

  • leobattaglia