This commit is contained in:
2025-08-13 13:05:31 +02:00
commit ecc54c0cfd
12 changed files with 1479 additions and 0 deletions

11
src/routes/api/isOdd.js Normal file
View File

@@ -0,0 +1,11 @@
const express = require('express');
const isOdd = require('is-odd');
const router = express.Router();
router.post('/', (req, res) => {
const { num } = req.body;
res.json({ ret: isOdd(num) });
});
module.exports = router;