Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@herbsjs/herbs

herbsjs4.3kMIT2.1.0

A domain-first framework. Code your domain and your infrastructure will follow

entity, value object, use case, clean architecture, herbsjs, herbs

readme

CI Herbsjs

Library that unify all core librarys from herbsjs

Installing

  $ npm install @herbsjs/herbs

Using

(ES6 module syntax)


import herbs from '@herbsjs/herbs'
const {usecase, step, Ok, Err, entity, field, validate, errorCodes ,checker} = herbs

(CommonJS syntax)


const { usecase, step, Ok, Err, entity, field, validate, errorCodes ,checker } = require('@herbsjs/herbs')

Please visit out website for more information: https://herbsjs.org

Any doubts?

Please visit our issues or chat with us in: Herbs discord

Contribute

Come with us to make an awesome herbs.

Now, if you do not have technical knowledge and also have intend to help us, do not feel shy, click here to chat with us and collaborate their ideas, the contribution may be a criticism or a compliment (why not?)

If you would like to help contribute to this repository, please see CONTRIBUTING

License

Herbs is released under the MIT license.

changelog

2.1.0 (2023-11-22)

Bug Fixes

  • aloe: fix export main (348bf2d)
  • dependecies: aloe and buchu (d947b25)

Features

  • 🎸 update suma, buchu , gotu and aloe (79c901e)
  • buchu: bump version to beta (34feedb)
  • entity: onlyIDs and reference validation (e89483b)
  • gotu: updated version (4eebf99)
  • specs: update Aloe version - scenario.only feature (1921511)
  • suma: tryParse is a helper function that tries to parse a value to the expected type (7986652)

2.1.0-beta.7 (2023-11-22)

Features

  • 🎸 update suma, buchu , gotu and aloe (79c901e)

2.1.0-beta.6 (2023-05-12)

Features

  • specs: update Aloe version - scenario.only feature (1921511)

2.1.0-beta.5 (2023-05-07)

Features

  • entity: onlyIDs and reference validation (e89483b)

2.1.0-beta.4 (2023-03-29)

Bug Fixes

2.1.0-beta.3 (2023-03-29)

Bug Fixes

  • dependecies: aloe and buchu (d947b25)

Features

  • buchu: bump version to beta (34feedb)

2.1.0-beta.2 (2023-03-29)

Features

2.1.0-beta.1 (2023-03-29)

Features

  • suma: tryParse is a helper function that tries to parse a value to the expected type (7986652)

2.0.0 (2023-03-06)

Features

  • buchu: update buchu version to 2.1.0 (d038691)

BREAKING CHANGES

  • buchu: Projects that are using ctx.user. A ctx.user variable will now be overridden by context. So now this variable becomes reserved by the library and we recommend not using it beyond the purpose of capturing user information coming via authorize

re https://github.com/herbsjs/buchu/pull/92

1.6.2 (2022-08-15)

Bug Fixes

  • herbs: update herbs dependencies (5f0930f)

1.6.1 (2022-06-27)

Bug Fixes

  • deps: update gotu dependency and export request from buchu (4b1d8b5)

1.6.0 (2022-06-27)

Bug Fixes

  • deps: update dependencies (6d3871b)

Features

  • buchu: update buchu version with request feature herbsjs/buchu#53 (14c8856)

1.5.0 (2022-06-13)

Bug Fixes

  • aloe: fix dependency (9ce6843)
  • aloe: fix dependency version (eefdec4)

Features

  • spec: specs (Aloe) is now a new herb avaliable (7e41bb1)

1.4.5 (2022-04-25)

Bug Fixes

  • 🐛 update herbs dependencies (1d43d49)

1.4.4 (2022-04-14)

Bug Fixes

  • deps: bump @herbsjs/suma from 1.2.0 to 1.3.0 (c84a3d9)

1.4.3 (2022-02-08)

Bug Fixes

  • update buchu dependency (047931f)

1.4.2 (2022-01-15)

Bug Fixes

  • deps: bump @herbsjs/buchu from 1.3.1 to 1.3.2 (d093b72)

1.4.1 (2021-12-30)

Bug Fixes

  • add correct link at "MIT License" in readme (0226c5d)

1.4.0 (2021-12-12)

Features

  • update buchu, suma and gotu with bug fixes and new features (19d3805)

1.3.1 (2021-08-25)

Bug Fixes

  • buchu: fix the absence of circular structure treatment (6efdaa9)

1.3.0 (2021-08-03)

Features

  • buchu: add common errors from buchu (f22f355)

1.2.0 (2021-06-23)

Features

  • add es6 and commonjs support (3065c17)

1.1.2 (2021-06-23)

Bug Fixes

1.1.1 (2021-06-23)

Bug Fixes

  • package: fix package-lock.json (4070b20)

1.1.0 (2021-06-23)

Features

  • change the sources of herbs core library (3629408)

1.0.2 (2021-06-18)

Bug Fixes

1.0.1 (2021-06-18)

Performance Improvements

  • update buchu dependecies (983ff3f)

1.0.0 (2021-06-17)

Features