Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../uploads/../../../../instantly.picotech.app/homes/../../wa.picotech.app/public_html/node_modules/escape-html/../music-metadata/../express/../whatwg-url/../pino
الملفات الموجودة في هذا الـ Path:
.
..
LICENSE
README.md
bin.js
browser.js
docs
file.js
lib
package.json
pino.d.ts
pino.js
test

مشاهدة ملف: file.js

'use strict'

const pino = require('./pino')
const { once } = require('events')

module.exports = async function (opts = {}) {
  const destOpts = Object.assign({}, opts, { dest: opts.destination || 1, sync: false })
  delete destOpts.destination
  const destination = pino.destination(destOpts)
  await once(destination, 'ready')
  return destination
}