autism
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Autism

Baron-Cohen (2001)

const autism = require('autism');

// Each item:
// 0: Definitely agree
// 1: Slightly agree
// 2: Slightly disagree
// 3: Definitely disagree
const selects = new Array(50).fill(null).map(_ => Math.floor(Math.random() * 4));

const score = autism.BaronCohen2001.computeAQ(selects);
console.log(score);

Readme

Keywords

Package Sidebar

Install

npm i autism

Weekly Downloads

14

Version

1.0.1

License

UNLICENSED

Unpacked Size

4.17 kB

Total Files

7

Last publish

Collaborators

  • ext32