1.0.2 • Published 4 years ago

truncgil v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

truncgil (Truncgil Technology JavaScript Library)

Truncgil Technology JavaScript Library

Installation

Usage

const _ = require('truncgil');
_('Merhabalar Trunçgil Teknoloji').typeof();    // string

_('Merhabalar Trunçgil Teknoloji').debug();
/*
    DEBUG: Merhaba Trunçgil Teknoloji 
    26/4/2020 04:13:00
*/

On browser

<script src="https://cdn.jsdelivr.net/npm/truncgil"></script>
<script type="text/javascript">
_('Merhabalar Trunçgil Teknoloji').typeof();    //string

_('Merhabalar Trunçgil Teknoloji').debug();
/*
    DEBUG: Merhaba Trunçgil Teknoloji 
    26/4/2020 04:13:00
*/
</script>

Functions

  • replaceAll(search, replace)
  • typeof()
  • typeofBlank()
  • printExecutionTime()
  • sleep(ms)
  • parseAll(returnType=null)
  • reverse(string, value)
  • slugify()
  • pushIfNotExist(value)
  • getUnique()
  • wordCount()
  • toArray()
  • toObject()
  • log(css)
  • now()
  • onScrollToThis()