{"library":"answer-formatter","type":"library","category":null,"description":"Answer-formatter is a minimal utility (v0.1.8, no regular release schedule) for formatting answer text, primarily targeting Node.js (>=16.17.0) and browser environments. It provides a simple function to transform answer strings with consistent spacing, punctuation, and optional suffixes. Unlike full-featured formatting libraries (e.g., date-fns, numeral), it focuses narrowly on answer text normalization. The package is small, has zero dependencies, and ships as a single CommonJS file.","language":"javascript","status":"active","version":"0.1.8","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install answer-formatter","imports":["const { formatAnswer } = require('answer-formatter')","const formatAnswer = require('answer-formatter').formatAnswer"]},{"cmd":"yarn add answer-formatter","imports":[]},{"cmd":"pnpm add answer-formatter","imports":[]}],"homepage":"https://github.com/hanlin-edu-tech/answer-formatter#readme","github":"https://github.com/hanlin-edu-tech/answer-formatter","docs":null,"changelog":null,"pypi":null,"npm":"answer-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}