(base-64decode input)
Parameters:
input
: string
Returns: string
**Parameters:** - `input`: `string` **Returns:** `string`
(base-64encode input)
Parameters:
input
: string
Returns: string
**Parameters:** - `input`: `string` **Returns:** `string`
(clear-timeout timeout-id)
Parameters:
timeout-id
: any
Returns: void
**Parameters:** - `timeout-id`: `any` **Returns:** `void`
(create-directory path)
Parameters:
path
: string
Returns: void
**Parameters:** - `path`: `string` **Returns:** `void`
(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`
(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`
(delete-file path)
Parameters:
path
: string
Returns: void
**Parameters:** - `path`: `string` **Returns:** `void`
(directories path)
Parameters:
path
: string
Returns: string[]
**Parameters:** - `path`: `string` **Returns:** `string[]`
(directory-exists? path)
Parameters:
path
: string
Returns: boolean
**Parameters:** - `path`: `string` **Returns:** `boolean`
(executing-file-path)
Returns: string
**Returns:** `string`
(exit)
(exit exit-code)
Parameters:
exit-code
: number | undefined
Returns: void
**Parameters:** - `exit-code`: `number | undefined` **Returns:** `void`
(file-exists? path)
Parameters:
path
: string
Returns: boolean
**Parameters:** - `path`: `string` **Returns:** `boolean`
(file-size path)
Parameters:
path
: string
Returns: number
**Parameters:** - `path`: `string` **Returns:** `number`
(modified-time path)
Parameters:
path
: string
Returns: Date | undefined
**Parameters:** - `path`: `string` **Returns:** `Date | undefined`
(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[]`
(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`
(realpath path)
Parameters:
path
: string
Returns: string
**Parameters:** - `path`: `string` **Returns:** `string`
(resolve-path path)
Parameters:
path
: string
Returns: string
**Parameters:** - `path`: `string` **Returns:** `string`
(set-modified-time path time)
Parameters:
path
: string
time
: Date
Returns: void
**Parameters:** - `path`: `string` - `time`: `Date` **Returns:** `void`
(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`
(use-case-sensitive-file-names?)
Returns: boolean
**Returns:** `boolean`
(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`
(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`
(write s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(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`
(write-output-is-tty?)
Returns: boolean
**Returns:** `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close