Skip to content

cakehappens/lonely-mountain

Repository files navigation


lonely mountain
Lonely Mountain

A set of useful functions for Jsonnet 🏔️

IntroductionInstallHow To UseCreditsRelatedLicenseLicense

👋 Introduction

Lonely Mountain is home to some artisanally crafted functions for use in your jsonnet! It's a natural extension to the standard library.

⚡️ Install

Install this library in your own project with jsonnet-bundler (the jsonnet package manager):

$ mkdir my-project; cd my-project
$ jb init  # Creates the initial/empty `jsonnetfile.json`
$ jb install github.com/cakehappens/lonely-mountain@main # Creates `vendor/` & `jsonnetfile.lock.json`, and fills in `jsonnetfile.json`

jb can be installed with go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb

In order to update the lonely-mountain dependency, simply use the jsonnet-bundler update functionality:

$ jb update

📖 How To Use

local lm = import "github.com/cakehappens/lonely-mountain/main.libsonnet";

lm.strings.capitalize("hello")
Hello

You can find more information in the docs 📖!

🏔️ Lore

The Lonely Mountain, or Erebor, was a mountain in the north-east of Rhovanion. It was the source of the river Running, and a major Dwarven stronghold, the Kingdom under the Mountain at the end of the Third Age and well into the Fourth.

"[Dwarves] are stone-hard, stubborn, fast in friendship and in enmity, and they suffer toil and hunger and hurt of body more hardily than all other speaking peoples; and they live long, far beyond the span of Men, yet not forever." ― The Silmarillion, "Of Aulë and Yavanna"

The Dwarves were beings of short stature, often friendly with Hobbits although long suspicious of Elves. They were typically blacksmiths and stoneworkers by profession, unrivalled in some of their arts even by the Elves.

While there were several tribes (Houses) of the Dwarves, the most prominent was that of the Longbeards.

Ref: tolkien gateway

💕 Related & Inspiration

Alt text

📜 Credits

Icons made by Freepik from www.flaticon.com

⚖️ License

About

A set of useful functions for Jsonnet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published