Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-postcode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-postcode - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.travis.yml

5

package.json
{
"name": "node-postcode",
"version": "0.0.2",
"version": "0.0.3",
"description": "API wrapper for the Postcode.nl APIs",
"main": "lib/postcode.js",
"scripts": {
"compile": "babel --presets es2015,stage-0 -d lib/ src/",
"compile": "babel -d lib/ src/",
"prepublish": "npm run compile",

@@ -24,3 +24,2 @@ "test": "npm run compile && mocha test/test.js --recursive --compilers js:babel-core/register"

"babel-core": "^6.9.1",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",

@@ -27,0 +26,0 @@ "babel-preset-stage-0": "^6.5.0",

12

README.md

@@ -1,2 +0,2 @@

# node-postcode
# node-postcode [![Build Status](https://travis-ci.org/Cyberuben/node-postcode.svg?branch=master)](https://travis-ci.org/Cyberuben/node-postcode)
API wrapper for the Postcode.nl API.

@@ -11,3 +11,3 @@

```
```javascript
var Postcode = require("node-postcode").Postcode;

@@ -27,3 +27,3 @@ var client = new Postcode({

```
```bash
$ npm i node-postcode

@@ -46,3 +46,3 @@ ```

```
```javascript
new PostcodeClient({

@@ -65,3 +65,3 @@ key: "YOUR_KEY",

```
```javascript
client.address("1111AA", 1)

@@ -98,2 +98,2 @@ .then(function (addressDetails) {

When `numberAddition` is supplied, but `houseNumberAddition` is an empty string, the `numberAddition` can not be verified, but this does not mean that mail sent to this address will not be accepted.
When `numberAddition` is supplied, but `houseNumberAddition` is an empty string, the `numberAddition` can not be verified, but this does not mean that mail sent to this address will not be accepted.

@@ -1,3 +0,1 @@

//require("babel-polyfill");
let chai = require("chai");

@@ -111,3 +109,2 @@ let expect = chai.expect;

.catch((err) => {
console.log(err);
assert(err === undefined, "Bad credentials supplied in environment variables");

@@ -114,0 +111,0 @@ done();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc