0.0.0-dev.1 • Published 6 months ago

@fizzwiz/fluent v0.0.0-dev.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@fizzwiz/fluent

Mirror the natural flow of thought in your code.

@fizzwiz/fluent is a modern JavaScript library designed to bring elegant syntactic sugar to your code. It simplifies the expression of complex logic and promotes intuitive, readable, and concise development — with zero learning curve.


✨ Features

  • 🧠 Thoughtful API – Code reads like natural language.
  • 🧩 Modular Structure – Organized into logical packages.
  • šŸš€ Dual Environment Support – Use in Node.js or directly in the browser.
  • šŸ“š Zero Learning Curve – Intuitive by design.

šŸ“¦ Package Structure

The library is organized into four main packages:

PackageDescription
coreBase abstractions: defines Each and What
eachClasses that extend the Each concept
whatClasses that extend the What concept
utilUtility functions and general-purpose helpers

Each package corresponds to a directory, and each file within defines a single class.


šŸ› ļø Usage

āœ… Node.js (ES Modules)

Install via npm:

npm install @fizzwiz/fluent

Then use:

import { Each } from '@fizzwiz/fluent/core/Each.js';

const each = Each.of('a', 'b');

āœ… Browser (via CDN)

Include the bundle in your HTML:

<script src="https://cdn.jsdelivr.net/gh/fizzwiz/fluent@latest/dist/fluent.bundle.js"></script>
<script>
  const each = fluent.Each.of('a', 'b');
</script>

This will expose a global fluent object with access to all features.

šŸ“„ Documentation

Full API docs and usage examples: šŸ‘‰ https://fizzwiz.github.io/fluent

šŸ“ Blog & Tutorials

Explore concepts, tutorials, and deep dives: šŸ‘‰ https://fluent-js.blogspot.com