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. Inspired by jQuery, but not selecting query anymore, just create it.
## Usage ## Usage
```ts ```ts
import { $ } from 'fluent.ts' import { $ } from 'fluentx'
const $app = $('app').content([ const $app = $('app').content([
$('h1').content('Hello World!') $('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"; import { $Element } from "./lib/$Element";
declare global { declare global {
const $ = fluent; const $ = fluentx;
type OrMatrix<T> = T | OrMatrix<T>[]; type OrMatrix<T> = T | OrMatrix<T>[];
type OrArray<T> = T | T[]; type OrArray<T> = T | T[];
type OrPromise<T> = T | Promise<T>; type OrPromise<T> = T | Promise<T>;

View File

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