Liking cljdoc? Tell your friends :D

dots.typescript.sys


argscljs

(args)

Returns: string[]

**Returns:** `string[]`
sourceraw docstring

base-64decodecljs

(base-64decode input)

Parameters:

  • input: string

Returns: string

**Parameters:**
- `input`: `string`

**Returns:** `string`
sourceraw docstring

base-64encodecljs

(base-64encode input)

Parameters:

  • input: string

Returns: string

**Parameters:**
- `input`: `string`

**Returns:** `string`
sourceraw docstring

clear-screencljs

(clear-screen)

Returns: void

**Returns:** `void`
sourceraw docstring

clear-timeoutcljs

(clear-timeout timeout-id)

Parameters:

  • timeout-id: any

Returns: void

**Parameters:**
- `timeout-id`: `any`

**Returns:** `void`
sourceraw docstring

create-directorycljs

(create-directory path)

Parameters:

  • path: string

Returns: void

**Parameters:**
- `path`: `string`

**Returns:** `void`
sourceraw docstring

create-hashcljs

(create-hash data)

A good implementation is node.js' crypto.createHash. (https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm)

Parameters:

  • data: string

Returns: string

A good implementation is node.js' `crypto.createHash`. (https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm)

**Parameters:**
- `data`: `string`

**Returns:** `string`
sourceraw docstring

create-sha-256-hashcljs

(create-sha-256-hash data)

This must be cryptographically secure. Only implement this method using crypto.createHash("sha256").

Parameters:

  • data: string

Returns: string

This must be cryptographically secure. Only implement this method using `crypto.createHash("sha256")`.

**Parameters:**
- `data`: `string`

**Returns:** `string`
sourceraw docstring

current-directorycljs

(current-directory)

Returns: string

**Returns:** `string`
sourceraw docstring

delete-filecljs

(delete-file path)

Parameters:

  • path: string

Returns: void

**Parameters:**
- `path`: `string`

**Returns:** `void`
sourceraw docstring

directoriescljs

(directories path)

Parameters:

  • path: string

Returns: string[]

**Parameters:**
- `path`: `string`

**Returns:** `string[]`
sourceraw docstring

directory-exists?cljs

(directory-exists? path)

Parameters:

  • path: string

Returns: boolean

**Parameters:**
- `path`: `string`

**Returns:** `boolean`
sourceraw docstring

executing-file-pathcljs

(executing-file-path)

Returns: string

**Returns:** `string`
sourceraw docstring

exitcljs

(exit)
(exit exit-code)

Parameters:

  • exit-code: number | undefined

Returns: void

**Parameters:**
- `exit-code`: `number | undefined`

**Returns:** `void`
sourceraw docstring

file-exists?cljs

(file-exists? path)

Parameters:

  • path: string

Returns: boolean

**Parameters:**
- `path`: `string`

**Returns:** `boolean`
sourceraw docstring

file-sizecljs

(file-size path)

Parameters:

  • path: string

Returns: number

**Parameters:**
- `path`: `string`

**Returns:** `number`
sourceraw docstring

memory-usagecljs

(memory-usage)

Returns: number

**Returns:** `number`
sourceraw docstring

modified-timecljs

(modified-time path)

Parameters:

  • path: string

Returns: Date | undefined

**Parameters:**
- `path`: `string`

**Returns:** `Date | undefined`
sourceraw docstring

new-linecljs

(new-line)

Returns: string

**Returns:** `string`
sourceraw docstring

read-directorycljs

(read-directory path)
(read-directory path extensions)
(read-directory path extensions exclude)
(read-directory path extensions exclude include)
(read-directory path extensions exclude include depth)

Parameters:

  • path: string
  • extensions: readonly string[] | undefined
  • exclude: readonly string[] | undefined
  • include: readonly string[] | undefined
  • depth: number | undefined

Returns: string[]

**Parameters:**
- `path`: `string`
- `extensions`: `readonly string[] | undefined`
- `exclude`: `readonly string[] | undefined`
- `include`: `readonly string[] | undefined`
- `depth`: `number | undefined`

**Returns:** `string[]`
sourceraw docstring

read-filecljs

(read-file path)
(read-file path encoding)

Parameters:

  • path: string
  • encoding: string | undefined

Returns: string | undefined

**Parameters:**
- `path`: `string`
- `encoding`: `string | undefined`

**Returns:** `string | undefined`
sourceraw docstring

realpathcljs

(realpath path)

Parameters:

  • path: string

Returns: string

**Parameters:**
- `path`: `string`

**Returns:** `string`
sourceraw docstring

resolve-pathcljs

(resolve-path path)

Parameters:

  • path: string

Returns: string

**Parameters:**
- `path`: `string`

**Returns:** `string`
sourceraw docstring

set-args!cljs

(set-args! value)
source

set-modified-timecljs

(set-modified-time path time)

Parameters:

  • path: string
  • time: Date

Returns: void

**Parameters:**
- `path`: `string`
- `time`: `Date`

**Returns:** `void`
sourceraw docstring

set-new-line!cljs

(set-new-line! value)
source

set-timeoutcljs

(set-timeout callback ms & args)

Parameters:

  • callback: (...args: any[]) => void
  • ms: number
  • args: any[]

Returns: any

**Parameters:**
- `callback`: `(...args: any[]) => void`
- `ms`: `number`
- `args`: `any[]`

**Returns:** `any`
sourceraw docstring

set-use-case-sensitive-file-names!cljs

(set-use-case-sensitive-file-names! value)
source

use-case-sensitive-file-names?cljs

(use-case-sensitive-file-names?)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

watch-directorycljs

(watch-directory path callback)
(watch-directory path callback recursive?)
(watch-directory path callback recursive? options)

Parameters:

  • path: string
  • callback: DirectoryWatcherCallback
  • recursive?: boolean | undefined
  • options: WatchOptions | undefined

Returns: FileWatcher

**Parameters:**
- `path`: `string`
- `callback`: `DirectoryWatcherCallback`
- `recursive?`: `boolean | undefined`
- `options`: `WatchOptions | undefined`

**Returns:** `FileWatcher`
sourceraw docstring

watch-filecljs

(watch-file path callback)
(watch-file path callback polling-interval)
(watch-file path callback polling-interval options)

Parameters:

  • path: string
  • callback: FileWatcherCallback
  • polling-interval: number | undefined
  • options: WatchOptions | undefined

Returns: FileWatcher

**Parameters:**
- `path`: `string`
- `callback`: `FileWatcherCallback`
- `polling-interval`: `number | undefined`
- `options`: `WatchOptions | undefined`

**Returns:** `FileWatcher`
sourceraw docstring

width-of-terminalcljs

(width-of-terminal)

Returns: number

**Returns:** `number`
sourceraw docstring

writecljs

(write s)

Parameters:

  • s: string

Returns: void

**Parameters:**
- `s`: `string`

**Returns:** `void`
sourceraw docstring

write-filecljs

(write-file path data)
(write-file path data write-byte-order-mark?)

Parameters:

  • path: string
  • data: string
  • write-byte-order-mark?: boolean | undefined

Returns: void

**Parameters:**
- `path`: `string`
- `data`: `string`
- `write-byte-order-mark?`: `boolean | undefined`

**Returns:** `void`
sourceraw docstring

write-output-is-tty?cljs

(write-output-is-tty?)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close