An open API service indexing awesome lists of open source software.

https://github.com/rolldeep-stepmerrily/rolldeep-stepmerrily


https://github.com/rolldeep-stepmerrily/rolldeep-stepmerrily

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

```typescript
export const rolldeep: Developer & Daddy = {
dev: {
coding: 'with my not smart ๐Ÿง ',
favorite: {
language: 'TypeScript',
framework: 'NestJS',
orm: 'Prisma',
},
},
hobby: {
bass: 'practicing diligently ๐ŸŽธ',
},
family: {
wife: 'โค๏ธ'.repeat(Number.MAX_SAFE_INTEGER),
baby: {
name: { first: 'ํ˜„', last: '์ด' },
gender: Gender.MALE,
isBorn: true,
getBirthDate: () => dayjs('2025-04-04'),
},
},
lifeStatus: async () => {
const { baby } = rolldeep.family;
const birthDate = baby.getBirthDate();
const now = dayjs();
const babyAge = now.diff(birthDate, 'day') + 1;

const parentingActivities = [
'๋ถ„์œ  ๋จน์ด๊ธฐ ๐Ÿผ',
'๊ธฐ์ €๊ท€ ๊ฐˆ๊ธฐ ๐Ÿ‘ถ',
'์žฌ์šฐ๊ธฐ ๐Ÿ˜ด',
'๋†€์•„์ฃผ๊ธฐ ๐ŸŽฎ',
'๋ชฉ์š•์‹œํ‚ค๊ธฐ ๐Ÿ›',
'๋ฝ€๋ฝ€ํ•ด์ฃผ๊ธฐ ๐Ÿ’‹',
'์•ˆ์•„์ฃผ๊ธฐ ๐Ÿค—',
];

const parenting = () => {
return new Promise((resolve) => {
console.log(`${baby.name.first}์ด ${babyAge}์ผ์ฐจ ์œก์•„ ์‹œ์ž‘!`);

let activityIndex = 0;
const activityInterval = setInterval(() => {
const currentActivity = parentingActivities[activityIndex];

console.log(`ํ˜„์žฌ ์œก์•„ ํ™œ๋™: ${currentActivity}`);

activityIndex = (activityIndex + 1) % parentingActivities.length;
}, 2000);

setTimeout(
() => {
clearInterval(activityInterval);

console.log(`${baby.name.first}์ด๋Š” ์ด์ œ ์ž ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค...`);

resolve('3์‹œ๊ฐ„ ๋™์•ˆ ์‰ฌ๋Š” ์‹œ๊ฐ„!');
},
3600 * 1000 * 3, // 3 hours
);
});
};

return await parenting();
},
};
```