市场夺宝奇兵
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
290 B

  1. # unicorn-magic
  2. > Some useful utilities I often need
  3. *I'm not accepting requests.*
  4. ## Install
  5. ```sh
  6. npm install unicorn-magic
  7. ```
  8. ## Usage
  9. ```js
  10. import {delay} from 'unicorn-magic';
  11. await delay({seconds: 1});
  12. console.log('1 second later');
  13. ```
  14. ## API
  15. See [the types](index.d.ts).