Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Pwoli is a NodeJS/TypeScript framework written in TypeScript which can work independantly on a raw NodeJS/TypeScript environement OR, in co-ordination with any other frameworks or libraries like Express.js.
Pwoli can connect to any kind of ORMs by implementing thier corresponding ORM Adapters and works with Sequelize out of the box at present by SequelizeAdapter.
This means that, all Sequelize supported databases like PostgreSQL, MySQL, MariaDB, SQLite, and Microsoft SQL Server are readily usable with Pwoli at present.
For any other DB/ORM support, an ORM Adapter implementing IORMAdapter has to be implemented. Please see how to use a different ORM
Pwoli means "super awesome" and our intention is to make web app development "super awesome"
npm install pwoli@latest
If you are using an ORM other than Sequelize or even a customized version of Sequelize, click here Enter these lines in your application's entry script(most probably index.ts or index.js)
import { Application as Pwoli } from 'pwoli'; //if using ES6 modules or "type": "module" is set in your package.json
//if the above doesn't work, try the below two lines as you might be using CommonJS:
const pkg = require('pwoli'); //if using CommonJS
const Pwoli = pkg.Application;
// Pwoli is loaded!
// Now set the viewPath for finding the views:
// Please note: You don't need to set this if your application is just a REST API service
Pwoli.setViewPath(path.join(\_\_dirname, 'views')); // The base path in which your view files are stored. Only applicable for SSR apps.
//You're ready to go!
Check out on one of our guides below for learning how to use Pwoli's features:
We have made four sample apps in different environments for you to get started quickly by trying them out in your local:
Pwoli is inspired from PHP's Yii framework.
Kudos to Mahesh, who is the brain behind Pwoli, and has high regards to Yii framework & he believes that this framework and its architecture has shaped his thoughts on modularized development methodologies.
Last but not least, thanks to Yadu Dev for his contributions to Pwoli.
npm run test
More tests are invited as contributions!
Pwoli is created at InternetMango.
Please feel free to shoot a mail to info@internetmango.com for any queries or concerns.
We'll be starting our Slack channel soon where you can directly chat with us on clearing your queries.
FAQs
[![Github All Releases](https://img.shields.io/npm/dt/pwoli.svg?label=Total%20Installs)]()
The npm package pwoli receives a total of 21 weekly downloads. As such, pwoli popularity was classified as not popular.
We found that pwoli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.