# Function generateNonce

- generateNonce(token, fallback?, tag?): {
  attr: string;
  nonce?: NonceInfo;
  }

- generate nonce token

  #### Parameters

  - token: Partial<{
    props: InitProps;
    }>

    init props

  - fallback: NonceInfo = null

    nonce fallback

  - tag: string = ""

    nonce token tag or nonce generator tag

  #### Returns {
  attr: string;
  nonce?: NonceInfo;
  }

  an object with generated string token and nonce info

  - ##### attr: string

  - ##### `Optional` nonce?: NonceInfo

  - Defined in node/utils.ts:79