This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
import keychain | |
import console | |
import editor | |
import time | |
import re | |
import requests | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const validateVin = value => { | |
if (value.length !== 17) return false | |
let chars = 'ABCDEFGHJKLMNPRSTUVWXYZ0123456789' | |
let nValue = new Array( | |
1, | |
2, | |
3, | |
4, | |
5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const polka = require('polka') | |
module.exports = polka() | |
.get('/', (req, res) => { | |
res.end('this is the api') | |
}) |
OlderNewer