Daily Shaarli

All links of one day in a single page.
Learn yaml in Y Minutes

https://www.json2yaml.com/

YAML - "strict superset of JSON"

** No tabs **
x : 1                      # 1 is a number, not a boolean
x : "The rain in Spain"    # Strings can be quoted but don't have to be!
another_key: Another value goes here.
# Multiple line strings - literal (|) or folded (>) blocks
# collections - 2 space indent (by convention)
set :
  a : 1
  b : 2
  c : 3
# arrays/lists
myarray :
 - key : a
   val : 1
 - key : b
   val : 2
 - key : c
   val : 3
Semver: A Primer - NodeSource

Semver: A Primer

Prefixing a single semver version string with the ^ character defines a range of acceptable versions that include all patch and minor versions from the ones specified up to, but not including, the next version. So "^1.2.3" can be approximately expanded as ">=1.2.3 <2.0.0".

Unlike ~, the ^ operator with a major version of 0 is essentially a no-op, in that it translates to exactly that version rather than a full range. So "^0.2.3" is equal to just "0.2.3" and no more.