{"library":"township-client","type":"library","category":null,"description":"township-client is a client-side JavaScript library designed to interact with Township authentication servers. It enables common user credential management operations such as registration, login, logout, and password changes. The library, currently at version 1.3.2, appears to have ceased active development around 2017, aligning with the last known activity on its companion `township` server project. Key features include the ability to manage user credentials across multiple Township servers, automatic persistence of login information to a configuration file (or `localStorage` in browsers), and a wrapper for making authenticated requests (`secureRequest`). This client primarily targets CommonJS environments, as suggested by its `require()`-based examples. Due to its age, it might not integrate seamlessly with modern ESM-first projects and relies on older dependency versions.","language":"javascript","status":"abandoned","version":"1.3.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install township-client","imports":["const TownshipClient = require('township-client')","client.register({ email: '...', password: '...' }, callback)","client.login({ email: '...', password: '...' }, callback)"]},{"cmd":"yarn add township-client","imports":[]},{"cmd":"pnpm add township-client","imports":[]}],"homepage":null,"github":"https://github.com/township/township-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/township-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/township-client/compatibility"}}