Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victoriadrake/chicago-api
Capitalize your title in something pretty close to Chicago Manual of Style title case.
https://github.com/victoriadrake/chicago-api
Last synced: about 1 month ago
JSON representation
Capitalize your title in something pretty close to Chicago Manual of Style title case.
- Host: GitHub
- URL: https://github.com/victoriadrake/chicago-api
- Owner: victoriadrake
- Created: 2020-03-09T02:26:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-04T10:58:50.000Z (3 months ago)
- Last Synced: 2024-08-04T11:55:00.508Z (3 months ago)
- Language: TypeScript
- Size: 1.12 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chicago API: Chicago-Style Title Capitalization
![Jest status badge](https://github.com/victoriadrake/chicago-api/workflows/jest/badge.svg)
A Node.js server that tries to be helpful by capitalizing your title string in something _probably pretty close to_ title case according to the Chicago Manual of Style.
I'm just a quick weekend project. Please don't use me in production. 🙈
## Usage
Clone and build the project:
```sh
git clone https://github.com/victoriadrake/chicago-api.git
npm install
tsc
```Run server locally:
```sh
node dist/index.js
```The port is `8080` by default. You can specify one instead by appending it:
```sh
node dist/index.js 5432
```In another terminal, send your title string as `title` query parameter, for example:
```sh
curl http://localhost:8080/?title=chicago+API:+chicago-style+title+capitalization
```Output:
```text
Chicago API: Chicago-Style Title Capitalization
```