Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@magic.batua/utility
Advanced tools
The Utility module manages all the utility bills functionalities of the Magic Batua platform.
The Utility
module powering Magic API platform.
Clone the repository to your computer.
Add a file named .env
at the root of the project. This should be a YAML file and have the
following environment variables:
RIP_MerchantID
: Rocket in Pocket's client IDRIP_MerchantKey
: Rocket in Pocket client key. This is bound to a single IP.RIP_UtilityURL
: Base URL for Rocket in Pocket's Utility API.Open Terminal (Command Prompt on Windows), cd
to the project folder and type npm install
.
This would install all the NPM dependencies for this project, and transpile the Typescript
code to JavaScript. Don't close the Terminal window.
Next, type the following in the Terminal window: npm test
. This would run all the unit test
that I've written for this particular module. If all tests pass, you've got a fully working
Utility
module in front you.
To get a sense of the code structure, I'd recommend consulting the Code Manual
. Code Manual
is a local site that gets generated from the documentation comments I've left in the source code.
To generate Code Manual
on your computer, open the Terminal, cd
to the project root and run
npm run code-manual
.
You should now have a Code Manual
folder at your project root. Open the index.html
file in
the folder in your favourite browser and enjoy the ride.
Make sure you commit any changes made to the source code at regular intervals, and sync the changes
back to the Bitbucket origin
repository.
For queries, you can write to Animesh at hello@animesh.ltd. Make sure you have read this before firing off a bug report.
FAQs
The Utility module manages all the utility bills functionalities of the Magic Batua platform.
The npm package @magic.batua/utility receives a total of 7 weekly downloads. As such, @magic.batua/utility popularity was classified as not popular.
We found that @magic.batua/utility demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.