From 4708aa1321155b3719d7c56603f8405e1727ff20 Mon Sep 17 00:00:00 2001 From: singuerinc Date: Mon, 25 Feb 2019 22:25:17 +0100 Subject: [PATCH] docs: getNumber --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d31412a..613bca5 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,15 @@ getSpecialName("DGP1234"); //=> "Spanish Police" getSpecialName("CME1234"); //=> "Corps of the Mossos d'Esquadra" ``` +### getNumber() + +```js +import { getNumber } from "spanish-car-plate"; + +getNumber("DGP0001"); //=> "0001" +getNumber("CME1234"); //=> "1234" +``` + ### parse() Get all the information about the plate