0.1.0 • Published 1 year ago

@swarmjs/decorators v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Version Downloads License Build

Table Of Contents

About The Project

With the following package, you can easily decorate your controllers, methods to configure everything you need about an API endpoint :

  • Method and route
  • API version
  • Title
  • Description
  • Restrict access
  • Filter user input
  • Filter sent data

Built With

  • TypeScript@4

Getting Started

Prerequisites

To use SwarmJS decorators, you need to use either TypeScript or Babel with @babel/plugin-proposal-decorators plugin.

Installation

yarn add @swarmjs/decorators

or

npm install --save @swarmjs/decorators

Usage

Please refer to the documentation to Get Started

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

0.1.0

1 year ago