Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Trails is a modern, community-driven web application framework for node.js. It builds on the pedigree of Rails and Grails to accelerate development by adhering to a straightforward, convention-based, API-driven design philosophy.
$ npm install -g yo generator-trails
$ yo trails
Trails uses Yeoman to generate scaffolding for new applications, and to create resources inside the application.
$ yo trails --help
Usage:
yo trails
Generators:
Create New Model
yo trails:model <model-name>
Create New Controller
yo trails:controller <controller-name>
Create New Policy
yo trails:policy <policy-name>
Create New Service
yo trails:service <service-name>
Once installation is complete, begin your journey!
$ node server.js
Trailpacks extend the framework's capabilities and allow developers to leverage existing ecosystem tools through a simple and well-defined API. New features, behavior, APIs, and other functionality can be added to the Trails framework through Trailpacks.
Out of the box, Trails includes a small suite of trailpacks:
Yes! We have a Trail Map that lays out our future plans and release schedule. Feel free to contribute your ideas.
Trails is written entirely in ES6, and runs natively on Node without transpiling. If you'd like to use Trails on an older version of node, you can install babel and configure it to transpile your application into ES5.
Trails can auto-migrate legacy Sails applications by installing the Sails Trailpack. We want this upgrade to be as smooth as possible, and are committed to maintaining it as a core module.
No. Trails is built and maintained by former members of the Sails.js core team, and offers an upgrade path from existing Sails applications, but it utilizes exactly zero lines of code from the original Sails project.
Yes! The core team maintains several popular trailpacks, but you are free to implement your own integration and use that instead or in addition to the core packs. See the Trailpack docs for more info.
We love contributions! Please check out our Contributor's Guide for more information on how our projects are organized and how to get started.
FAQs
Modern Web Application Framework for Node.js
The npm package trails receives a total of 485 weekly downloads. As such, trails popularity was classified as not popular.
We found that trails 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.