UNPKG

@datadayrepos/js-id-web

Version:

Utils for generating identifiers in javascript browser environment. Using web crypto engine for random number generation.

14 lines (7 loc) 1.3 kB
Copyright (c) 2023 Ivar Strand All rights reserved. No part of this software and associated documentation files (the "Software") may be used, copied, modified, merged, published, distributed, sublicensed, and/or sold without explicit prior written permission from the copyright holder. Permission to use the Software must be obtained directly from the copyright holder and is subject to specific terms and conditions as agreed upon by the copyright holder. This permission, when granted, is applicable only to the individual or entity to whom it is granted and cannot be transferred, assigned, or sublicensed to any third party. Any unauthorized use of the Software, or failure to comply with the terms of granted permissions, may result in immediate revocation of the granted permission and may subject the violator to legal action. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.