Liking cljdoc? Tell your friends :D

still.node-io

Node.js filesystem utilities for snap! source editing.

Node.js filesystem utilities for snap! source editing.
raw docstring

delete-file!cljs

(delete-file! file-path)

Delete a file.

Delete a file.
sourceraw docstring

ensure-parent-dir!cljs

(ensure-parent-dir! file-path)

Ensure the parent directory of the given path exists, creating it if needed.

Ensure the parent directory of the given path exists, creating it if needed.
sourceraw docstring

file-exists?cljs

(file-exists? file-path)

Returns true if the file at path exists.

Returns true if the file at path exists.
sourceraw docstring

list-edn-filescljs

(list-edn-files dir)

Return a sequence of .edn filenames in dir, or nil if dir doesn't exist.

Return a sequence of .edn filenames in dir, or nil if dir doesn't exist.
sourceraw docstring

node-env?cljs

(node-env?)

Returns true when running in a Node.js environment.

Returns true when running in a Node.js environment.
sourceraw docstring

read-filecljs

(read-file file-path)

Read a file as a UTF-8 string.

Read a file as a UTF-8 string.
sourceraw docstring

resolve-file-pathcljs

(resolve-file-path filename)

Resolve a source filename to an absolute path.

Searches src/, test/, dev/, and the current working directory. Handles .class → .clj/.cljc extension substitution for compiled forms. Returns the absolute path string, or nil if not found.

Resolve a source filename to an absolute path.

Searches src/, test/, dev/, and the current working directory.
Handles .class → .clj/.cljc extension substitution for compiled forms.
Returns the absolute path string, or nil if not found.
sourceraw docstring

write-filecljs

(write-file file-path content)

Write a string to a file.

Write a string to a file.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close