{"id":16049024,"url":"https://github.com/lovell/uk-postcode","last_synced_at":"2025-03-18T04:31:05.125Z","repository":{"id":1051985,"uuid":"884150","full_name":"lovell/uk-postcode","owner":"lovell","description":"Node.js module for parsing and validating UK postcodes","archived":false,"fork":false,"pushed_at":"2013-10-28T11:21:52.000Z","size":100,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T10:17:47.747Z","etag":null,"topics":["javascript","nodejs","postcode","uk-postcode","validation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-02T19:39:42.000Z","updated_at":"2024-11-13T15:48:53.000Z","dependencies_parsed_at":"2022-07-18T05:21:29.766Z","dependency_job_id":null,"html_url":"https://github.com/lovell/uk-postcode","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Fuk-postcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Fuk-postcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Fuk-postcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovell%2Fuk-postcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovell","download_url":"https://codeload.github.com/lovell/uk-postcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902273,"owners_count":20366259,"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":["javascript","nodejs","postcode","uk-postcode","validation"],"created_at":"2024-10-09T00:12:36.492Z","updated_at":"2025-03-18T04:31:04.759Z","avatar_url":"https://github.com/lovell.png","language":"JavaScript","readme":"# uk-postcode\r\n\r\nNode.js module for parsing and validating UK postcodes.\r\n\r\n## Install\r\n\r\n    npm install uk-postcode\r\n\r\n## Usage\r\n\r\n    var ukPostcode = require(\"uk-postcode\");\r\n    var postcode = ukPostcode.fromString(\"M11AA\");\r\n    if (postcode.isValid()) {\r\n      console.log(postcode);         // M1 1AA\r\n      console.log(postcode.outward); // M1\r\n      console.log(postcode.inward);  // 1AA\r\n    }\r\n\r\n## Testing [![Build Status](https://travis-ci.org/lovell/uk-postcode.png?branch=master)](https://travis-ci.org/lovell/uk-postcode)\r\n\r\nRun the unit tests with:\r\n\r\n    npm test\r\n\r\n## Licence\r\n\r\nCopyright 2013 Lovell Fuller\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovell%2Fuk-postcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovell%2Fuk-postcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovell%2Fuk-postcode/lists"}