From a9c2bc7b970e7930d6d945a1664bd5e346d92d48 Mon Sep 17 00:00:00 2001 From: Malcolm Kee Date: Tue, 27 Nov 2018 00:34:17 +0800 Subject: [PATCH] fix docs --- README.md | 6 +++--- package.json | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 278f885..57aa161 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,11 @@ The filtering rule of the joining functions are: `joinString` is available with `import joinString from 'join-string'` or `import { joinString } from 'join-string'`, based on your preference. -### `joinClass: (...classNames: any[]) => string` +### `joinClassName: (...classNames: any[]) => string` -`joinClass` is an utility to construct className. It join all its parameter with a space. +`joinClassName` is an utility to construct className. It join all its parameter with a space. -Under the hood, `joinClass` is just `joinString(' ')`. +Under the hood, `joinClassName` is just `joinString(' ')`. [npm]: https://www.npmjs.com/ [node]: https://nodejs.org diff --git a/package.json b/package.json index bb37ed9..b8b6749 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "join-string", - "version": "1.0.0", + "version": "1.0.1", "description": "A utility for joining strings", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -17,6 +17,13 @@ ], "author": "Malcolm Kee ", "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/malcolm-kee/join-string" + }, + "bugs": { + "url": "https://github.com/malcolm-kee/join-string/issues" + }, "dependencies": { "typesafe-is": "^1.0.1" },