{"id":29629902,"url":"https://github.com/binarymax/njord","last_synced_at":"2025-08-22T11:33:45.673Z","repository":{"id":16751831,"uuid":"19509466","full_name":"binarymax/njord","owner":"binarymax","description":"Session-persistent HTTP client","archived":false,"fork":false,"pushed_at":"2014-05-06T20:44:32.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T17:55:11.367Z","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/binarymax.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":"2014-05-06T20:24:02.000Z","updated_at":"2014-05-06T20:44:32.000Z","dependencies_parsed_at":"2022-09-24T10:00:46.339Z","dependency_job_id":null,"html_url":"https://github.com/binarymax/njord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binarymax/njord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymax%2Fnjord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymax%2Fnjord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymax%2Fnjord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymax%2Fnjord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binarymax","download_url":"https://codeload.github.com/binarymax/njord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binarymax%2Fnjord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260801225,"owners_count":23065473,"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":"2025-07-21T10:07:43.715Z","updated_at":"2025-07-21T10:07:44.381Z","avatar_url":"https://github.com/binarymax.png","language":"JavaScript","readme":"# Njörðr\n\nSession-persistent HTTP client\n\nConnect to a form-based login API, and execute requests\n\n## Installation\n\n```\nnpm install njord\n```\n\n## Example\n\n```js\nvar njord = require('njord');\nvar session = njord.session('http://example.com/');\nsession.login('login/','username','password',function(err){\n\t\n\tif(err) {\n\t\tconsole.error('Could not login:', err);\n\t} else {\n\t\tsession.get('myaccount/',function(err,accountdata){\n\t\t\tif(err) {\n\t\t\t\tconsole.error('Could not get account:', err);\n\t\t\t} else {\n\t\t\t\tconsole.log(accountdata);\n\t\t\t}\n\t\t});\n\t}\n\n});\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymax%2Fnjord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarymax%2Fnjord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymax%2Fnjord/lists"}