@arted/utils

utils for nodejs

Usage no npm install needed!

<script type="module">
  import artedUtils from 'https://cdn.skypack.dev/@arted/utils';
</script>

README

Utils

Utils for Javascript/Nodejs

Installation

npm

$ npm install @arted/utils

or yarn

$ yarn add @arted/utils

Usage

const fs = '@arted/utils/fs';

// 获取文件状态
async function getStats() {
    return await fs.stat('path/to/file.json');
}