<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: LinHan</title>
    <description>The latest articles on DEV Community by LinHan (@linhanlove).</description>
    <link>https://dev.to/linhanlove</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1485787%2Ff9ff7753-bc52-4efd-81d4-43f01dc6e34c.jpeg</url>
      <title>DEV Community: LinHan</title>
      <link>https://dev.to/linhanlove</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/linhanlove"/>
    <language>en</language>
    <item>
      <title>Lightning-fast, powerful, and ready-to-use TypeScript toolkit Introduction</title>
      <dc:creator>LinHan</dc:creator>
      <pubDate>Thu, 06 Jun 2024 13:51:12 +0000</pubDate>
      <link>https://dev.to/linhanlove/lightning-fast-powerful-and-ready-to-use-typescript-toolkitintroduction-3cag</link>
      <guid>https://dev.to/linhanlove/lightning-fast-powerful-and-ready-to-use-typescript-toolkitintroduction-3cag</guid>
      <description>&lt;p&gt;AtomTools&lt;/p&gt;

&lt;p&gt;Lightning-fast, powerful, and ready-to-use TypeScript toolkit&lt;br&gt;
Introduction&lt;br&gt;
🌟 AtomTools is a modern TypeScript-based JavaScript toolkit designed to provide indispensable utility functions for project development. With simple import statements, you can quickly integrate these utility functions into your project without any complex configuration.&lt;/p&gt;

&lt;p&gt;Star History&lt;/p&gt;

&lt;p&gt;Reasons to Choose AtomTools&lt;br&gt;
In traditional business project development, developers often face the need to write a large number of repetitive functions, type definitions, and constants. These codes often need to be ported and reused across different projects, leading to low efficiency.&lt;/p&gt;

&lt;p&gt;The original intention of AtomTools is to provide an efficient and convenient solution, helping developers to easily manage and use these common programming elements. With AtomTools, you will be able to simplify the development process and focus more on the implementation of core business logic.&lt;/p&gt;

&lt;p&gt;Key Features&lt;br&gt;
🌈 Full Compatibility: Perfectly compatible with any project developed using JavaScript or TypeScript, including WeChat mini-programs.&lt;br&gt;
🚀 Blazing Speed: Enhance development speed, making programming faster and more efficient.&lt;br&gt;
📠 Type Safety: Entirely written in TypeScript, providing precise type hints to enhance code robustness.&lt;br&gt;
🍃 Lightweight Design: Focuses on performance and practicality, with no redundant dependencies, keeping the library lightweight.&lt;br&gt;
📦 Plug-and-Play: Ready to use immediately after installation, without complex configuration.&lt;br&gt;
Installation&lt;br&gt;
Install atom-tools via NPM, YARN, or PNPM.&lt;/p&gt;

&lt;p&gt;npm install atom-tools&lt;br&gt;
pnpm add atom-tools&lt;br&gt;
yarn add atom-tools&lt;br&gt;
Example&lt;br&gt;
It is recommended to import AtomTools on an as-needed basis.&lt;/p&gt;

&lt;p&gt;Utilities&lt;/p&gt;

&lt;p&gt;import { pick } from 'atom-tools'&lt;/p&gt;

&lt;p&gt;interface Person {&lt;br&gt;
  name: string;&lt;br&gt;
  age: number;&lt;br&gt;
  email: string;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;const person = {&lt;br&gt;
  name: 'John Doe',&lt;br&gt;
  age: 30,&lt;br&gt;
  email: '&lt;a href="mailto:john.doe@example.com"&gt;john.doe@example.com&lt;/a&gt;'&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;// Use the pick function to select 'name' and 'age' properties&lt;br&gt;
const selectedFields = pick(person, ['name', 'age']);&lt;br&gt;
console.log(selectedFields); // Output: { name: 'John Doe', age: 30 }&lt;br&gt;
Vue Custom Directive&lt;/p&gt;

&lt;p&gt;&lt;br&gt;
  Am I in the viewport?&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;const handleVisibilityChange = (isVisible) =&amp;gt; {&lt;br&gt;
  console.log(&lt;code&gt;Element is ${isVisible ? 'visible' : 'not visible'}!&lt;/code&gt;);&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;const visibilityOptions = {&lt;br&gt;
  callback: handleVisibilityChange,&lt;br&gt;
  options: {&lt;br&gt;
    root: null, // or specify an element as a reference&lt;br&gt;
    rootMargin: '50px', // can be modified as needed&lt;br&gt;
    threshold: 0.5 // can be modified to an array or a value&lt;br&gt;
  }&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;Developer Community&lt;br&gt;
Looking for like-minded friends to participate in the development of AtomTools. If you are passionate about TypeScript, JavaScript toolkit development, welcome to join us and build a more powerful, easy-to-use set of programming tools together.&lt;/p&gt;

&lt;p&gt;Future Plans&lt;br&gt;
Vue Custom Directives: Provide a variety of ready-to-use Vue custom directives to simplify the development of Vue applications.&lt;br&gt;
Component Encapsulation: Plan to add more encapsulations of commonly used components to enhance development efficiency and user experience.&lt;br&gt;
Code Snippet Collection: Integrate a series of common code snippets to help developers quickly solve specific problems.&lt;br&gt;
AtomTools is committed to becoming a comprehensive front-end development toolkit, helping developers enhance productivity and achieve a more elegant programming experience. Join us and build the future together!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>A fast, powerful, and out of the box TypeScript tool library</title>
      <dc:creator>LinHan</dc:creator>
      <pubDate>Sun, 12 May 2024 05:20:44 +0000</pubDate>
      <link>https://dev.to/linhanlove/a-fast-powerful-and-out-of-the-box-typescript-tool-library-3g9a</link>
      <guid>https://dev.to/linhanlove/a-fast-powerful-and-out-of-the-box-typescript-tool-library-3g9a</guid>
      <description>&lt;p&gt;Hello everyone, recently I have been dedicated to the development of atom tools and would like to contribute it as a high-quality open-source library. However, due to my limited resources, I hope to have more friends join me and contribute to atom tools together&lt;br&gt;
I will post the GitHub address below: &lt;a href="https://github.com/LinHanlove/atom-tools"&gt;https://github.com/LinHanlove/atom-tools&lt;/a&gt;&lt;br&gt;
AtomTools&lt;br&gt;
A fast, powerful, and out of the box TypeScript tool library&lt;br&gt;
⚡ * * AtomTools * * is a modern TypeScript based JavaScript tool library that includes numerous essential utility functions in project development. By using simple import statements, you can quickly apply these tool functions to your project.&lt;br&gt;
Why choose AtomTools&lt;br&gt;
In the traditional business project development process, developers often need to write a large number of repetitive functions, type definitions, and constants. These codes often need to be ported and reused between different projects.&lt;br&gt;
*&lt;em&gt;The design philosophy of AtomTools * * is to provide developers with an efficient and convenient solution to more easily manage and use these commonly used programming elements. Through AtomTools, you will be able to simplify the development process and focus more on implementing core business logic.&lt;br&gt;
Feature highlights&lt;br&gt;
🌈 *&lt;/em&gt; Fully compatible * &lt;em&gt;: Perfectly compatible with any project developed using JavaScript or TypeScript, including WeChat mini programs.&lt;br&gt;
🚀 *&lt;/em&gt; Speed Experience * &lt;em&gt;: Improve development speed and make programming faster and more efficient.&lt;br&gt;
📠 *&lt;/em&gt; Type Safe * &lt;em&gt;: Completely written in TypeScript, providing precise type prompts and enhancing code robustness.&lt;br&gt;
🍃 *&lt;/em&gt; Lightweight design * &lt;em&gt;: emphasizes performance and practicality, without redundant dependencies, maintaining the lightness of the library.&lt;br&gt;
📦 *&lt;/em&gt; Ready to install and use * *: No complex configuration required, it can be put into use immediately after installation.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
