Reader for deps.edn
This is a small library for reading and manipulating deps.edn files and data structures. It can be used in scenarios where the full tools.deps library is not needed for dep expansion (which pulls in many large libraries).
Latest release: 0.9.13
deps.edn dependency information:
org.clojure/tools.deps.edn {:mvn/version "0.9.13"}
Leiningen dependency information:
[org.clojure/tools.deps.edn "0.9.13"]
Maven dependency information:
<dependency>
<groupId>org.clojure</groupId>
<artifactId>tools.deps.edn</artifactId>
<version>0.9.13</version>
</dependency>
Usually, you should use the read-deps function to read a deps.edn file, validate, and canonicalize it:
However, these component functions may also occasionally be useful:
These functions are available to get individual or multiple of the standard deps.edn maps in the chain:
user-deps-path, then read and return it (or nil if none exists)project-deps-path, then read and return it (or nil if none exists)These functions can be used to modify or extract information from a deps.edn map:
Copyright © Rich Hickey, Alex Miller, and contributors
All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 which can be found in the file LICENSE at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |