Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

hex: a deno library

Intro

โœ–๏ธ hex is an ecosystem delivering practices, philosophy and portability.

hex consists of a set of components that are designed to be used together. These sub-components enable developers to abstract their codes for better portability between platforms. Encourages ones to write codes once in functional approach, then run on mainstream environments such as cli, bot platforms, cloud-function runtimes and web apis.

โš™ Components

Component Area Description
Directives Rules
Standards Abstraction
FP Functions Library Tools for functional programming
StdX Functions Library Encriched Standard Library
Data Objects Library Data Objects and Patterns
Environment Objects Library Environment adapters
Formatters Objects Library Object serializers/deserializers
CLI Manager CLI library
DI Manager Dependency injection library
Functions Manager Functions runtime
Generator Manager Project generator
I18N Manager Internationalization library
Options Manager Configuration library
Service Framework A micro http framework
Web Framework A web framework implementation

See the respective component page to figure out its specific usage.

๐Ÿš€ Jumpstart

Ensure that Deno 1.27 or higher is installed on your system first.

Alternative I:

Install dext globally first, then create a new project:

$ deno run -A https://dext.deno.dev

$ dext create my-project

Creating "dext web template 0.0.1" on my-project...
...
done.

Alternative II:

Or run a hex routines directly from the resource:

$ deno run https://deno.land/x/hex/src/functions/samples/basic.ts eser

{ payload: "hello eser" }

๐Ÿ“– FAQ

Want to report a bug or request a feature?

Please read through our CONTRIBUTING.md and report it using GitHub Issues!

Want to contribute?

It is publicly open for any contribution. Bugfixes, new features and extra components are welcome.

Check out issues with the good first issue and help wanted label if you are not sure how to begin. We suggest also looking at the closed ones to get a sense of the kinds of issues you can tackle.

Fork the repo, push your changes to your fork, and submit a pull request.

Requirements

License

Apache 2.0, for further details, please see LICENSE file.

To Support

Visit my GitHub Sponsors profile at github.com/sponsors/eserozvataf