open-index/open-npm huggingface dataset:
npm package: @mryhryki/datetime
Description: DateTime library for personal use
Author: mryhryki
Latest version: 0.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @mryhryki/datetime

[![npm version](https://badge.fury.io/js/@mryhryki%2Fdatetime.svg)](https://badge.fury.io/js/@mryhryki%2Fdatetime)

DateTime library for personal use.

## How to use

```javascript
import { DateTime } from '@mryhryki/datetime';

// Get now DateTime
const datetime = DateTime.now()

// Parse from DateTime text
const datetime = DateTime.parse('2022-01-16T17:32:39+09:00');

// Parse from UnixTime (Second)
const datetime = DateTime.at(1642321959);

// Parse from UnixTime (MilliSecond)
const datetime = DateTime.atMs(1642321959091);

// Get ISO8601 format text
datetime.toISO("Asia/Tokyo"); // => "2022-01-16T17:32:39+09:00"
datetime.toString();          // => "2022-01-16T08:32:39+00:00" (UTC)

// Get date text
datetime.toDateText("Asia/Tokyo"); // => "2022-01-16"

// Get unix time
datetime.toUnixTime("Asia/Tokyo");   // => 1642321959
datetime.toUnixTimeMs("Asia/Tokyo"); // => 1642321959000

// Add/Sub time
datetime.add(1, "year").toISO("Asia/Tokyo");    // => "2023-01-16T17:32:39+09:00"
datetime.add(1, "month").toISO("Asia/Tokyo");   // => "2022-02-16T17:32:39+09:00"
datetime.add(1, "day").toISO("Asia/Tokyo");     // => "2022-01-17T17:32:39+09:00"
datetime.add(-1, "hour").toISO("Asia/Tokyo");   // => "2022-01-16T16:32:39+09:00"
datetime.add(-1, "minute").toISO("Asia/Tokyo"); // => "2022-01-16T17:31:39+09:00"
datetime.add(-1, "second").toISO("Asia/Tokyo"); // => "2022-01-16T17:32:38+09:00"
datetime.add(-1, "milliSecond").toUnixTimeMs(); // => 1642321958999

// Set time
datetime.set("year", 2020).toISO("Asia/Tokyo"); // => "2020-01-16T17:32:39+09:00"
datetime.set("month", 12).toISO("Asia/Tokyo");  // => "2022-12-16T17:32:39+09:00"
datetime.set("day", 1).toISO("Asia/Tokyo");     // => "2022-01-01T17:32:39+09:00"
datetime.set("hour", 3).toISO("Asia/Tokyo");    // => "2022-01-16T03:32:39+09:00"
datetime.set("minute", 1).toISO("Asia/Tokyo");  // => "2022-01-16T17:01:39+09:00"
datetime.set("second", 1).toISO("Asia/Tokyo");  // => "2022-01-16T17:32:01+09:00"
datetime.set("milliSecond", 1).toUnixTimeMs();  // => 1642321959001

// Get time elements
datetime.get("Asia/Tokyo"); /* => {
  "year": "2022",
  "month": "01",
  "day": "16",
  "hour": "17",
  "minute": "32",
  "second": "39",
  "milliSecond": "000",
  "timezoneSign": "+",
  "timezoneHour": "09",
  "timezoneMinute": "00",
  "weekOfYear": 4,
  "weekday": "sun"
}
*/

// Get clonse
datetime.clone();
```
npm package: @mryhryki/email
Description: Email library for personal use
Author: mryhryki
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @mryhryki/email

Email library for personal use.

## How to use

```javascript
import fs  from "node:fs/promises"
import { parseEmail } from '@mryhryki/email';

const emlRawData = await fs.readFile("path/to/eml/file");
console.log(JSON.stringify(await parseEmail(emlRawData), null, 2));
/* => {
  "messageId": "<CACvnhqv-BSudLM5mk3uhmJZpP8nRobsew3bCUmiOpPfBCQQ1xQ@mail.gmail.com>",
  "date": "2022-09-13T13:32:38.000Z",
  "subject": "TEST",
  "to": [
    {
      "name": "Hiroyuki Moriya",
      "address": "mryhryki@gmail.com"
    }
  ],
  "from": {
    "name": "Hiroyuki Moriya",
    "address": "mryhryki@gmail.com"
  },
  "cc": [],
  "replyTo": null,
  "headers": {
    "mime-version": "MIME-Version: 1.0",
    "date": "Date: Tue, 13 Sep 2022 22:32:38 +0900",
    "message-id": "Message-ID: <CACvnhqv-BSudLM5mk3uhmJZpP8nRobsew3bCUmiOpPfBCQQ1xQ@mail.gmail.com>",
    "subject": "Subject: TEST",
    "from": "From: Hiroyuki Moriya <mryhryki@gmail.com>",
    "to": "To: Hiroyuki Moriya <mryhryki@gmail.com>",
    "content-type": "Content-Type: multipart/alternative; boundary=\"000000000000c1569105e88f0be0\""
  },
  "attachments": [],
  "html": [
    "<div dir=\"ltr\"><b>BODY</b></div>",
    ""
  ],
  "text": [
    "*BODY*",
    ""
  ]
} */
```
npm package: @mryhryki/lint
Description: Lint tool pack for personal use
Author: mryhryki
Latest version: 0.0.14
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @mryhryki/lint

[![npm version](https://badge.fury.io/js/@mryhryki%2Flint.svg)](https://badge.fury.io/js/@mryhryki%2Flint)

Lint package for personal use.

## How to use

```shell
# Check
$ `npm bin`/mryhryki-lint --directory ./ --fix
```
npm package: @mrynk/vue-cli-plugin-frontnd
Description: Mr. Ynk project generator
Author: David Wigman
Latest version: 1.0.38

# Mr. Ynk Vue-CLI Frontnd Tool

The only Frontnd tool you ever need™️

## In a Perfect World

Go to your user folder (C:\Users\YOUR_USER), open .vuerc, paste in the Mr. Ynk preset.
If there is no "presets" key, you can make your own object, or use the default vue create function once.

```
{
  "presets": {
    "mrynk": {
      "useConfigFiles": true,
      "plugins": {
        "@vue/cli-plugin-babel": {},
        "@vue/cli-plugin-eslint": {
          "config": "standard",
          "lintOn": [
            "save"
          ]
        },
        "@mrynk/vue-cli-plugin-frontnd": {
          "prompts": true
        }
      },
      "vueVersion": "3"
    }
  }
}
```

### Dependencies

* Node version 16.13.0
* [Vue-CLI 3](https://cli.vuejs.org/guide/installation.html) - To invoke the project & plugins
* Some project or empty folder.


### Using

##### 1: Creating your project

Open the command line in the parent folder of your future front-end project folder and enter this command.
It'll ask you to select a preset. Choose the Mr. Ynk preset you've added to the .vuerc file

```
vue create <project-name>
```

##### 2: Running/Building your project

To run the project: `npm run serve`

To build the project: `npm run build`

If no backend build folder was specified in the prompts, the project defaults to /dist.
These build-specific properties can be found in the environment files located in your project's root.

### Troubleshooting

##### Vue's default files
While generating, Vue's default files are changed to Schrödinger files. Whenever you collapse the wave function and the files remain, use `npm run remove`

## Features (exp.)

These features will become present when you invoke the plugin.

### Scaffolding a page

```
npm run frontnd:page <pages>
```

For example, to create a Landing, Game and Result page:

```
npm run frontnd:page landing game result
```

More are coming soon™️


## Contributing

Bugs or feature requests can be shouted, sent, thrown, signalled, or any other form of communication.
If you want to be really fancy, you can make a bug report!