getBirthByCard

根据身份证获取出生日期

使用示例

import { getBirthByCard } from trust-util;
const birth = getBirthByCard('150101200802290013')
console.log(birth) // output:2008-02-29