https://github.com/reliverse/core
@reliverse/core
https://github.com/reliverse/core
Last synced: 10 months ago
JSON representation
@reliverse/core
- Host: GitHub
- URL: https://github.com/reliverse/core
- Owner: reliverse
- License: mit
- Created: 2024-05-09T10:58:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T09:52:42.000Z (over 1 year ago)
- Last Synced: 2025-01-12T01:39:26.318Z (12 months ago)
- Language: TypeScript
- Size: 86.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# @reliverse/addons: Reliverse Core
> @reliverse/core is a Reliverse Addon that provides a Reliverse's constants for developing apps within the Reliverse ecosystem, offering pre-configured variables to streamline the creation of consistent, high-quality apps.
For detailed usage instructions, API documentation, and examples, please visit the [Reliverse Docs](https://reliverse.org) website. If the page for this package is missing, please notify us or consider contributing to add it.
## Installation
To install or update this package, run:
```bash
pnpm add @reliverse/core@latest
```
or with Bun:
```bash
bun add @reliverse/core@latest
```
## How to Use This Library
To use `@reliverse/core`, ensure that your project is set up as an ES module by including `"type": "module"` in your `package.json` file. Since this package is structured as an ES module, you'll need to use `import` statements instead of `require`.
Here's an example of how to import and use a function from this package:
```ts
import { [functionName] } from "@reliverse/core";
const someFile = "path/to/file";
export async function exampleFunction() {
await [functionName](someFile);
}
```
Please refer to the source files located in the [`src` folder](https://github.com/reliverse/core/blob/main/src) to learn about the currently implemented functions.
This package adopts the ES module format, with files compiled to `dist/.js`. This aligns with the Node.js team's recent recommendations, encouraging the JavaScript/TypeScript community to transition to the ES module standard. If your project still requires CommonJS (CJS) support, you may fork this repository and modify the build process to generate `dist/.cjs` files. For guidance or community support, join the [Reliverse Discord community](https://discord.gg/C4Z46fHKQ8).
## Documentation and Support
If you encounter any issues, need help, or want to contribute, you can:
- Join the [Reliverse Discord community](https://discord.gg/C4Z46fHKQ8) to ask questions and engage with other users and developers.
- For usage instructions, API documentation, and examples, please visit the [Reliverse Docs](https://reliverse.org) website.
- Report bugs or suggest features by opening an issue on our [GitHub repository](https://github.com/reliverse/core/issues).
## Sponsors
*Love using this project? If you find it useful, Iād greatly appreciate a cup of coffee! By supporting this project, you'll gain access to Reliverse Pro, exclusive access to @reliverse/addons-pro, private repositories, pre-release downloads, and even the ability to influence project planning. Click on the donation platforms below to learn more. Thank you all for your support!*
**[We're Growing Fast! A Huge Thanks to All Our Supporters!](https://github.com/blefnk/relivator/stargazers)**
Developing something as ambitious as [@reliverse/addons](https://github.com/reliverse/addons) takes a huge amount of time, especially since the project is primarily developed by one person. The development could be significantly accelerated by bringing on additional developers. Therefore, @blefnk (Nazar Kornienko), the author of this project, would be immensely grateful to anyone who can contribute financially in any amount. A big thank you in advance to everyone who supports this effort!
**[Visit the "Donate to Relivator" page to see our current donors and learn more.](https://relivator.reliverse.org/donate)**
### š [GitHub Sponsors](https://github.com/sponsors/blefnk) 𩵠[PayPal](https://paypal.me/blefony) š§” [Patreon](https://patreon.com/blefnk) š [Buy Me a Coffee](https://buymeacoffee.com/blefnk) š©· [Ko-fi](https://ko-fi.com/blefnk)
## Contributing
We welcome contributions! If youād like to contribute to the development of this package, please follow these steps:
1. **If you are a beginner:** Familiarize yourself with Git by following [The Detailed Git Guide](https://github.com/blefnk/relivator/blob/main/.github/GITGUIDE.md) created by @blefnk and @reliverse.
2. Fork this repository.
3. Create a new branch for your feature (e.g. `git checkout -b feature-branch`).
4. Make your changes in the new branch.
5. Commit your changes with a descriptive message (e.g. `git commit -m 'Add new feature'`).
6. Push your changes to your branch (e.g. `git push origin feature-branch`).
7. Open a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) for our review.
Please ensure that your code follows the existing code style and includes appropriate tests. Your code should successfully pass the `pnpm appts` command.
## License
This project is developed by [Reliverse](https://github.com/orgs/reliverse/repositories) and [@blefnk (Nazar Kornienko)](https://github.com/blefnk) and is licensed under the MIT License. For more information, please refer to the [LICENSE](./LICENSE) file.