![Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support](https://cdn.sanity.io/images/cgdhsj6q/production/2cf8fa428fd5329a3f9bc7f76a597ac829bb1b3d-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
sun-tzu-quotes
Advanced tools
A list of some Sun Tzu quotes from The Art of War.
PRs welcome.
npm install sun-tzu-quotes [--g|--save]
This module comes in an API and CLI. Example in code:
var sunTzu = require('sun-tzu-quotes')
// random quote
console.log(sunTzu())
//=> 'All warfare is based on deception.'
// the array of all quotes
console.log(sunTzu.quotes)
quote = sunTzu()
Returns a random quote string, like 'Opportunities multiply as they are seized.'
.
list = sunTzu.quotes
The array of all quotes.
list = require('sun-tzu-quotes/quotes.json')
The full JSON array.
You can also use the CLI here.
Usage:
sun-tzu-quotes [opt]
Options:
--help show help
--all list all quotes, separated by newlines
Example:
$ sun-tzu-quotes
To know your Enemy, you must become your Enemy.
MIT, see LICENSE.md for details.
FAQs
a few Sun Tzu quotes from The Art of War
The npm package sun-tzu-quotes receives a total of 4,427 weekly downloads. As such, sun-tzu-quotes popularity was classified as popular.
We found that sun-tzu-quotes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.