From 6db210554a55f108b079f5a5a0505d142d6ae59b Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Fri, 5 May 2023 12:39:27 +0200 Subject: [PATCH] Alphabets package test --- js/alphabets/index.js | 5 +++++ js/alphabets/package-lock.json | 17 +++++++++++++++++ js/alphabets/package.json | 6 ++++++ 3 files changed, 28 insertions(+) create mode 100644 js/alphabets/index.js create mode 100644 js/alphabets/package-lock.json create mode 100644 js/alphabets/package.json diff --git a/js/alphabets/index.js b/js/alphabets/index.js new file mode 100644 index 0000000..9ed3fe6 --- /dev/null +++ b/js/alphabets/index.js @@ -0,0 +1,5 @@ +// const ab = require('alphabets'); +import ab from 'alphabets'; + +console.log(ab.ukrainian.join('')); +console.log(ab.latin.length); diff --git a/js/alphabets/package-lock.json b/js/alphabets/package-lock.json new file mode 100644 index 0000000..4ff6e82 --- /dev/null +++ b/js/alphabets/package-lock.json @@ -0,0 +1,17 @@ +{ + "name": "alphabets", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "alphabets": "^2.0.2" + } + }, + "node_modules/alphabets": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/alphabets/-/alphabets-2.0.2.tgz", + "integrity": "sha512-tgPLNXO8oZXK57/xDf6zmzp0rGYTeueB3YDHQBxGuUbDoWyJoxEuaHDnnWcz4PNFHHEAra0V7GaF7xjZFEgNvw==" + } + } +} diff --git a/js/alphabets/package.json b/js/alphabets/package.json new file mode 100644 index 0000000..3ac1bca --- /dev/null +++ b/js/alphabets/package.json @@ -0,0 +1,6 @@ +{ + "dependencies": { + "alphabets": "^2.0.2" + }, + "type": "module" +}