Преглед на файлове

Update README

Make information more presentable.
master
TheoryOfNekomata преди 2 години
родител
ревизия
8511d76949
променени са 2 файла, в които са добавени 25 реда и са изтрити 45 реда
  1. +23
    -7
      README.md
  2. +2
    -38
      docs/assets/formxtra.svg

+ 23
- 7
README.md Целия файл

@@ -1,10 +1,17 @@
# formxtra <header style="text-align: center; line-height: 1">

<h1 style="margin: 0">
![formxtra logo](./docs/assets/formxtra.svg) <img src="./docs/assets/formxtra.svg" alt="formxtra"/>

</h1>
**The companion for Web forms!** <h2 style="margin: 0">

The companion for Web forms!
Extract and set form values through the DOM. </h2>
<p style="font-size: 125%">
Extract and set form values through the DOM&mdash;no frameworks required!
</p>
<p>
Lightweight. Simple. It Just Works.
</p>
</header>


## Installation ## Installation


@@ -89,6 +96,15 @@ autofillButton.addEventListener('click', e => {
}); });
``` ```


There are utility functions exported alongside `getFormValues()` and `setFormValues()`. You may want to use namespace
import with this library, i.e. `import * as formxtra from '@theoryofnekomata/formxtra'`.

See the [documentation folder](./docs) for more details.

## Tests ## Tests


The library has been tested on the static DOM using JSDOM, and the real dynamic DOM using Cypress. The library has been tested on the static DOM using JSDOM, and the real dynamic DOM using Cypress.

## License

[MIT](./LICENSE)

+ 2
- 38
docs/assets/formxtra.svg
Файловите разлики са ограничени, защото са твърде много
Целия файл


||||||
x
 
000:0
Зареждане…
Отказ
Запис