next-parse-int The parseInt int for next. installation npm install -S @jswork/next-parse-int usage import '@jswork/next-parse-int'; const arr = [1, '2a', '3b', '4c']; const res = arr.map(nx.parseInt); // [1, 2, 3, 4] license Code released under the MIT license.