UNPKG

atow

Version:

A tool to test exposed API key in your code

14 lines (11 loc) 275 B
const fs = require('fs'); const arr = fs.readFileSync('./\.gitignore').toString().split("\r\n") let val; arr.map(item => { if (item[0] == '/') { val = item.slice(1); let index = arr.indexOf(item); arr[index] = val } }) module.exports = arr;