Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hkdigital/jslib--hkd-fe
Frontend library for javascript projects by HKdigital
https://github.com/hkdigital/jslib--hkd-fe
Last synced: 26 days ago
JSON representation
Frontend library for javascript projects by HKdigital
- Host: GitHub
- URL: https://github.com/hkdigital/jslib--hkd-fe
- Owner: HKdigital
- License: isc
- Created: 2022-04-12T12:27:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T08:26:57.000Z (8 months ago)
- Last Synced: 2024-05-31T09:45:30.756Z (8 months ago)
- Language: JavaScript
- Size: 390 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Frontend library for javascript projects
## About
This library contains code that can be used to implement frontend projects.
This library depends on [hkd-jslib-base](https://github.com/HKdigital/hkd-jslib-base).
### Issues
If you encounter problems or have a good idea to make this library better, please create an [issue](https://github.com/HKdigital/jslib-hkd-fe/issues).## Add this library to your project
The [HKdigital devtool](https://github.com/HKdigital/hkdigital-jsdevtool) can be used to setup a NodeJS (backend) or SVELTE (frontend) project from scratch.
### Add libraries to your project
You can add libraries to your project as git submodules.
To add the base library and this library (which is a git submodule) to the folders `/lib/jslib--hkd-base` and `/lib/jslib--hkd-fe`:
```bash
node devtool.mjs lib-add [email protected]:HKdigital/jslib--hkd-base.git
node devtool.mjs lib-add [email protected]:HKdigital/jslib--hkd-fe.git
```The devtool includes support for import aliases, so you can refer to library files like this:
```js
import { backendJsonGet } from "@hkd-fe/helpers/http.js";
```