{"id":17998191,"url":"https://github.com/primaryobjects/easypost-lib","last_synced_at":"2025-06-30T02:04:05.396Z","repository":{"id":5462232,"uuid":"6657380","full_name":"primaryobjects/easypost-lib","owner":"primaryobjects","description":"Easy method for reading POST data in Node.js web applications. Supports form submissions and REST client posts. Provides a single location for maintaining the code that reads POST data.","archived":false,"fork":false,"pushed_at":"2012-11-29T15:44:20.000Z","size":132,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T09:45:01.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/primaryobjects.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}},"created_at":"2012-11-12T17:27:28.000Z","updated_at":"2024-02-20T02:58:50.000Z","dependencies_parsed_at":"2022-08-03T16:15:23.284Z","dependency_job_id":null,"html_url":"https://github.com/primaryobjects/easypost-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/primaryobjects/easypost-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Feasypost-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Feasypost-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Feasypost-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Feasypost-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/easypost-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Feasypost-lib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697250,"owners_count":23349890,"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":[],"created_at":"2024-10-29T21:24:28.221Z","updated_at":"2025-06-30T02:04:05.268Z","avatar_url":"https://github.com/primaryobjects.png","language":"JavaScript","readme":"﻿EasyPost\n--------\n\nAn easy method for reading POST data in Node.js web applications. EasyPost supports both form submissions and REST client posts. It also provides a single location for maintaining the code that reads POST data, allowing you to enhance it, such as with checks for flooding attacks, etc.\n\n```bash\n$ npm install easypost\n```\n\n## Usage\n```\nvar easypost = require('easypost');\n```\n### Reading POST Data From a Form\n```\n    easypost.get(req, res, function (data) {\n        res.render('index', { txtName: data.txtName });\n    });\n```\n### Reading POST Data From a REST Client\n```\n    easypost.get(req, res, function (data) {\n        data = JSON.parse(data);\n        res.render('index', { txtName: data.txtName });\n    });\n```\n## Notes\n\nIn the above examples, the first example assumes your form contains the element:\n\n```\n[input type='text' id='txtName' /]\n```\n\nThe second example assumes a REST client has posted the following data:\n\n```\n{\"txtName\": \"My Name\"}\n```\n\nYou can view a tutorial article using EasyPost at http://www.primaryobjects.com/CMS/Article144.aspx\n\n## Author\n\nKory Becker\nhttp://www.primaryobjects.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Feasypost-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Feasypost-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Feasypost-lib/lists"}