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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i samara

    Weekly Downloads

    1

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    33.9 kB

    Total Files

    18

    Last publish

    Collaborators

    • leobattaglia