{"id":21700376,"url":"https://github.com/articulate/paperplane","last_synced_at":"2025-07-11T19:36:20.840Z","repository":{"id":43804729,"uuid":"78796319","full_name":"articulate/paperplane","owner":"articulate","description":"Lighter-than-air node.js server framework","archived":false,"fork":false,"pushed_at":"2023-12-12T02:44:36.000Z","size":1009,"stargazers_count":136,"open_issues_count":3,"forks_count":11,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-06-23T09:57:21.573Z","etag":null,"topics":["functional-programming","javascript","nodejs","paperplane","server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/articulate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-12T23:26:38.000Z","updated_at":"2025-05-28T19:07:01.000Z","dependencies_parsed_at":"2024-06-18T18:43:49.667Z","dependency_job_id":"dfc108f4-b404-4c56-9b14-9fc6a22d0ba2","html_url":"https://github.com/articulate/paperplane","commit_stats":{"total_commits":102,"total_committers":16,"mean_commits":6.375,"dds":0.607843137254902,"last_synced_commit":"ef300686d573469cbd6da9284c9070fa1e38fe84"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/articulate/paperplane","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fpaperplane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fpaperplane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fpaperplane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fpaperplane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/articulate","download_url":"https://codeload.github.com/articulate/paperplane/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/articulate%2Fpaperplane/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264887582,"owners_count":23678707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functional-programming","javascript","nodejs","paperplane","server"],"created_at":"2024-11-25T20:14:10.082Z","updated_at":"2025-07-11T19:36:20.806Z","avatar_url":"https://github.com/articulate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\u003cimg src=\"https://cloud.githubusercontent.com/assets/888052/22172037/543e7f10-df6b-11e6-8ab8-8a1e679dd27e.png\" alt=\"paperplane\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Lighter-than-air node.js server framework.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/paperplane\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/paperplane.svg\" alt=\"npm version\" style=\"max-width:100%;\"\u003e\u003c/a\u003e \u003ca href=\"https://www.npmjs.com/package/paperplane\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/paperplane.svg\" alt=\"npm downloads\" style=\"max-width:100%;\"\u003e\u003c/a\u003e \u003ca href=\"https://travis-ci.org/articulate/paperplane\"\u003e\u003cimg src=\"https://travis-ci.org/articulate/paperplane.svg?branch=master\" alt=\"Build Status\" style=\"max-width:100%;\"\u003e\u003c/a\u003e \u003ca href='https://coveralls.io/github/articulate/paperplane?branch=v2'\u003e\u003cimg src='https://coveralls.io/repos/github/articulate/paperplane/badge.svg?branch=v2' alt='Coverage Status' /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Documentation\n\n- [Getting started guide](https://github.com/articulate/paperplane/blob/master/docs/getting-started.md)\n- [API docs](https://github.com/articulate/paperplane/blob/master/docs/API.md)\n- [Migration guide](https://github.com/articulate/paperplane/blob/master/docs/migration-guide.md)\n\n## Introduction\n\nThe main goal of `paperplane` is to make building a `node.js` server easy, without all of the configuration or imperative boilerplate required for other server frameworks.  If you prefer to build apps with function composition or even a point-free style, then `paperplane` is for you.\n\nWith `paperplane` you get all of these out-of-the-box:\n\n- pure, functional, Promise-based [request handlers](https://github.com/articulate/paperplane/blob/master/docs/getting-started.md#basic-concepts)\n- support for request handlers that return [Algebraic Data Types](https://github.com/articulate/paperplane/blob/master/docs/getting-started.md#what-are-algebraic-data-types) - **new in v2.0**\n- support for highly scalable [serverless deployment](https://github.com/articulate/paperplane/blob/master/docs/API.md#serverless-deployment) - **new in v2.1**\n- composeable json [body parsing](https://github.com/articulate/paperplane/blob/master/docs/API.md#parsejson)\n- dead-simple [routing functions](https://github.com/articulate/paperplane/blob/master/docs/API.md#routes)\n- several common [response helpers](https://github.com/articulate/paperplane/blob/master/docs/getting-started.md#response-object)\n- json-formatted [logging](https://github.com/articulate/paperplane/blob/master/docs/API.md#logger)\n- easily configurable [CORS support](https://github.com/articulate/paperplane/blob/master/docs/API.md#cors)\n- plug-n-play [static file serving](https://github.com/articulate/paperplane/blob/master/docs/API.md#serve)\n\nLet's try a quick Hello World example server.  It accepts a `:name` param in the url, and then includes that name in the `json` response body.\n\n```js\nconst { compose } = require('ramda')\nconst http = require('http')\nconst { json, logger, methods, mount, routes } = require('paperplane')\n\nconst hello = req =\u003e ({\n  message: `Hello ${req.params.name}!`\n})\n\nconst app = routes({\n  '/hello/:name': methods({\n    GET: compose(json, hello)\n  })\n})\n\nhttp.createServer(mount({ app })).listen(3000, logger)\n```\n\nSo simple and functional, with an easily readable routing table and pure functions for the route handler.  If that sounds like fun to you, then read the [Getting started guide](https://github.com/articulate/paperplane/blob/master/docs/getting-started.md) or the [API docs](https://github.com/articulate/paperplane/blob/master/docs/API.md) to learn more.\n\n## Example application\n\nTo help you learn the concepts used in paperplane, check out the [demo application](https://github.com/articulate/paperplane/blob/master/demo).\n\nIf you have docker installed, you can run the demo locally:\n\n1. Clone this repo\n1. If you're using Docker Desktop for Windows:\n    - `cp docker-compose.override.windows.yml docker-compose.override.yml`\n1. `docker-compose up`\n1. http://localhost:3000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farticulate%2Fpaperplane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farticulate%2Fpaperplane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farticulate%2Fpaperplane/lists"}