@tuval/core v0.0.103
Tuval Framework - Core
Tuval Core is a part of Tuval Framework. Tuval Framework is an application framework designed to build powerful web applications, with many sub-components, written entirely in javascript. It has powerful structure and objects for requirements that most applications will need. You can create applications without the need for any other library.
Tuval Core includes;
- Collections
- Encoding
- IO Operations
- Globalization
- Type Reflection
- And more
npm install @tuval/core
or you can add script tag to your web page
<script src="https://unpkg.com/@tuval/core/tuval-core.js"></script>
- Visit: The Home Page and follow on Twitter
- Discover: API Documentations
- Contact Us stan@tuvalsoft.com Feel free for any questions.
Quick Look
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>File Ops</title>
<script src="https://unpkg.com/@tuval/core/tuval-core.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0,viewport-fit=cover">
<style type="text/css">
#output {
width: 100%;
height: 200px;
margin: 0 auto;
margin-top: 10px;
border-left: 0px;
border-right: 0px;
padding-left: 0px;
padding-right: 0px;
display: block;
background-color: black;
color: white;
font-family: 'Lucida Console', Monaco, monospace;
outline: none;
}
body {
margin: 0;
overflow: hidden;
background-color: #000000;
font-family: Roboto, sans-serif;
}
</style>
</head>
<body>
</body>
<script>
with(Tuval) {
var tvconsole = new TextConsole();
var path = "C:\\temp\\Dummy.txt";
var fs = new FileStream('C:\\temp\\myfiles\\funnyfile.ext', FileMode.Create, FileAccess.Write);
var bytes = Encoding.UTF8.GetBytes('๐ ๐ ๐ ๐ ๐
๐ ๐คฃ โบ๏ธ ๐ ๐ ๐ ๐ ๐
๐ ๐ ๐ฅฐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐คช ๐คจ ๐ง ๐ค ๐ ๐คฉ ๐ฅณ ๐ ๐ ๐ ๐ ๐ ๐
๐ โน๏ธ ๐ฃ ๐ ๐ซ ๐ฉ ๐ฅบ ๐ข ๐ญ ๐ค๐ ๐ก ๐คฌ ๐คฏ ๐ณ ๐ฅต ๐ฅถ ๐ฑ ๐จ ๐ฐ ๐ฅ ๐ ๐ค ๐ค
๐คญ ๐คซ ๐คฅ ๐ถ ๐ ๐ ๐ฌ ๐ ๐ฏ ๐ฆ ๐ง ๐ฎ ๐ฒ ๐ฅฑ ๐ด ๐คค ๐ช ๐ต ๐ค ๐ฅด ๐คข ๐คฎ ๐คง
๐ท ๐ค ๐ค ๐ค ๐ค ๐ ๐ฟ ๐น ๐บ ๐คก ๐ฉ ๐ป ๐ โ ๏ธ ๐ฝ ๐พ ๐ค ๐ ๐บ ๐ธ ๐น ๐ป ๐ผ ๐ฝ
๐ ๐ฟ ๐พ');
fs.Write(bytes, 0, bytes.length);
fs.Flush();
fs.Close();
using(new StreamReader('C:\\temp\\myfiles\\funnyfile.ext'), (sr) => {
tvconsole.WriteLine(sr.ReadToEnd());
});
if (!File.Exists(path)) {
// Create a file to write to.
using(File.CreateText(path), (sw) => {
sw.WriteLineString("Hello");
sw.Flush();
sw.Close();
});
}
using(File.OpenText(path), (sr) => {
let s;;
while ((s = sr.ReadLine()) != null) {
tvconsole.WriteLine(s);
}
});
}
</script>
</html>
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago