mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2025-02-18 17:44:46 +01:00
7 lines
250 B
JavaScript
7 lines
250 B
JavaScript
import { truncate, truncator } from './helpers'
|
|
|
|
export default function inspectBigInt(number, options) {
|
|
let nums = truncate(number.toString(), options.truncate - 1)
|
|
if (nums !== truncator) nums += 'n'
|
|
return options.stylize(nums, 'bigint')
|
|
}
|