update name

This commit is contained in:
defaultkavy 2024-02-02 00:01:03 +08:00
parent 9064906c74
commit 8fc0ab538c
3 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Fluent.ts - A mordern way to build web.
# fluentX - Fast, fluent, simple web builder.
Inspired by jQuery, but not selecting query anymore, just create it.
## Usage
```ts
import { $ } from 'fluent.ts'
import { $ } from 'fluentx'
const $app = $('app').content([
$('h1').content('Hello World!')

4
global.d.ts vendored
View File

@ -1,8 +1,8 @@
import { $ as fluent } from "./$index";
import { $ as fluentx } from "./$index";
import { $Element } from "./lib/$Element";
declare global {
const $ = fluent;
const $ = fluentx;
type OrMatrix<T> = T | OrMatrix<T>[];
type OrArray<T> = T | T[];
type OrPromise<T> = T | Promise<T>;

View File

@ -1,6 +1,6 @@
{
"name": "fluent.ts",
"description": "Front-end builder library",
"name": "fluentx",
"description": "Fast, fluent, simple web builder",
"version": "0.0.1",
"type": "module",
"module": "index.ts",