I hereby claim:
- I am carlesbarreda on github.
- I am carlesbarreda (https://keybase.io/carlesbarreda) on keybase.
- I have a public key ASD6QnNmfkuPWa8KqyPKfLjDZWIm1Br4yMOshK6iHA_ouwo
To claim this, I am signing this object:
import { resolve } from 'pathe' | |
import fs from 'fs-extra' | |
async function readI18nFile(file: string) { | |
return JSON.parse(Buffer.from( | |
await fs.readFile(resolve(`./locales/${file}`), 'utf-8'), | |
).toString()) | |
} | |
/** | |
* Simple object check. |
I hereby claim:
To claim this, I am signing this object: