@kozmonos/functions

0.0.4 • Public • Published

basePath

Get base path of the project.

capitalizeFirstLetter

parameters: string

Capitalize first letter of the string.

toKebabCase

parameters: string

Convert string to kebab case.

pathToAlias

parameters: path

Convert path to alias.

checkAlias

parameters: path

Check if alias is valid.

file

  • read

    parameters: path

  • write

    parameters: {path,content,cb}

  • copy

    parameters: selectedPath,targetPath

  • delete

    parameters: selectedPath

  • exists

    parameters: path

  • glob

    parameters: path

  • stat

    parameters: path

  • rename

    parameters: selectedPath,targetPath

cache

  • create

    parameters: cacheName,cacheData

  • read

    parameters: cacheName,key=null

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i @kozmonos/functions

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

2.76 kB

Total Files

3

Last publish

Collaborators

  • onuraycicek