From e2450966aad3d872a907519105cf5d8e067e68e2 Mon Sep 17 00:00:00 2001 From: singuerinc Date: Wed, 20 Feb 2019 22:35:38 +0100 Subject: [PATCH] docs: update readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 07d7bbd..fe04f82 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,15 @@ import { getSpecialCode } from "spanish-car-plate"; getSpecialCode("DGP1234"); //=> "DGP" ``` +### getSpecialName() + +```js +import { getSpecialName } from "spanish-car-plate"; + +getSpecialName("DGP1234"); //=> "Spanish Police" +getSpecialName("CME1234"); //=> "Corps of the Mossos d'Esquadra" +``` + ### parse() Get all the information about the plate