# factor **Repository Path**: mirrors_component/factor ## Basic Information - **Project Name**: factor - **Description**: factor numbers - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # factor factor numbers ## Installation With component: $ component install component/factor With node.js: $ npm install factor ## Example ```js factor(4) // [2, 2] factor(15) // [3, 5] factor(25) // [5, 5] factor(27) // [3, 3, 3] ``` ## API ### factor(n) Factor `n` into prime numbers. ## Test ``` npm install make test ``` ## License MIT