Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Foysal50x/ray-js

 
 

Repository files navigation

Debug your Adonis App with Ray to fix problems faster

This package can be installed in Adonisjs application to send messages to the Ray app.

Documentation

You can find the full documentation on our documentation site.

Installation

  • Add package:
    
    npm i @faisal50x/ray
    
  • Register providers inside the your start/app.js file.
const providers = [
    ...
        '@faisal50x/ray/providers/RayProvider',
    ...
]

Example

  const Ray = use('@faisal50x/ray');

  Ray("Yahoooo it's working.").color('green');
  
  //JSON
  Ray().toJson({
    appName: "Adonis Ray",
    appVersion: "0.0.1",
    author: "Faisal Ahmed",
    credit: "Spatie"
  });
  
  //Table
  Ray().table({
    "node_version": "15.0",
    "adonis_version": "4.1",
    "os": "MacOS 11.1"
  });
  

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%