fingerlockjs
v1.0.8
Published
Browser fingerlockjs library with the highest accuracy and stability
Downloads
28
Maintainers
Readme
Using the getAttributes
Function
The getAttributes
function is used to retrieve a set of attributes related to the user's browser or environment. This function returns a Promise that resolves to a BuiltinComponents
object containing various attributes. Each attribute provides information about a specific aspect of the user's environment.
Usage
To use the getAttributes
function in your project, follow these steps:
Import the
getAttributes
function into your JavaScript/TypeScript code:import { getAttributes } from 'fingerlockjs'; const attributesPromise = getAttributes(); attributesPromise.then((attributes) => { // Handle the attributes here console.log(attributes); }).catch((error) => { // Handle any errors that occur during attribute retrieval console.error(error); });
Response Payload: