Skip to content

Releases: ncoden/sass-types

v0.2.0

15 Dec 16:53
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Initial Release.

Features:

  • st-init: initialize required datas.
  • st-add-type: register a type and its test function.
  • st-check-type: check if a value match a given type.
  • st-assert: for a given map of types and values, check if all the values matches their type, and throw an error if not.

Default types:

  • map alias Map (also matches an empty list)
  • list alias List
  • string alias String
  • number alias Number,
  • bool alias Boolean
  • color alias Color