express-ajs
Version:
Minimal example of how to use ajs in Express.
87 lines • 1.98 kB
JSON
{
"name": "express-ajs",
"description": "Minimal example of how to use ajs in Express.",
"blah": {
"description": [
{
"p": "This is an example how to use [ajs](https://github.com/IonicaBizau/ajs) together with Express."
},
{
"code": {
"language": "sh",
"content": [
"# Clone the repository",
"git clone https://github.com/IonicaBizau/express-ajs",
"",
"# Install the dependencies",
"npm i",
"",
"# And start it",
"npm start"
]
}
},
{
"p": [
"In the `views/` directory you can find the ajs views. The `posts.ajs` template contains an example how to use aync calls.",
"Just open `localhost:3000` in your browser and have fun!"
]
}
]
},
"keywords": [
"express",
"ajs",
"minimal",
"example",
"of",
"how",
"to",
"use",
"in"
],
"license": "MIT",
"version": "1.0.11",
"main": "lib/index.js",
"scripts": {
"start": "node ./bin/www"
},
"author": "Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)",
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"scripts/",
"resources/",
"menu/",
"cli.js",
"index.js",
"index.d.ts",
"package-lock.json",
"bloggify.js",
"bloggify.json",
"bloggify/"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/IonicaBizau/express-ajs.git"
},
"bugs": {
"url": "https://github.com/IonicaBizau/express-ajs/issues"
},
"homepage": "https://github.com/IonicaBizau/express-ajs#readme",
"dependencies": {
"ajs": "^1.2.1",
"body-parser": "~1.15.1",
"cookie-parser": "~1.4.3",
"debug": "~4.1.1",
"express": "~4.13.4",
"morgan": "~1.10.0",
"serve-favicon": "~2.3.0"
},
"bin": {
"express-ajs": "./bin/express-ajs"
}
}